ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Microsoft Related >> C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions (615)
 C Sharp interview questions  C Sharp Interview Questions (722)
 ASP.NET interview questions  ASP.NET Interview Questions (1444)
 VB.NET interview questions  VB.NET Interview Questions (151)
 COM+ interview questions  COM+ Interview Questions (41)
 ADO.NET interview questions  ADO.NET Interview Questions (199)
 IIS interview questions  IIS Interview Questions (86)
 MTS interview questions  MTS Interview Questions (5)
 Crystal Reports interview questions  Crystal Reports Interview Questions (62)
 BizTalk interview questions  BizTalk Interview Questions (34)
 Dot Net interview questions  Dot Net Interview Questions (861)
 Exchange Server interview questions  Exchange Server Interview Questions (103)
 SharePoint interview questions  SharePoint Interview Questions (25)
 WCF interview questions  WCF Interview Questions (8)
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions (193)
Question
How to navigate from one page(form) to another page(form) 
using C#.net...please give me the example
 Question Submitted By :: C-Sharp
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
you have to create a second form object in first form event.
Ex:
form2 objform2=new form2(parameters)
objform2.show();
 
Is This Answer Correct ?    59 Yes 11 No
Kala
 
Answer
# 2
Response.Redirect("SamplePage.aspx") OR Server.Transfer
("SamplePage.aspx")
 
Is This Answer Correct ?    35 Yes 12 No
Vikul
 
 
 
Answer
# 3
form2 bond=new form2();
bond.show();
 
Is This Answer Correct ?    18 Yes 3 No
K.alekhya
 
Answer
# 4
you have to create a second form object in first form event.
Ex:
form2 objform2=new form2(parameters)
objform2.show();
//To hide the present form
this.hide();
 
Is This Answer Correct ?    18 Yes 6 No
Sujai Cn
 
Answer
# 5
Firstly create a second form object with any instance and do
the given procedure:-

form2 objform2=new from2();
objform2.show();
//hide the present form
this.hide();
 
Is This Answer Correct ?    12 Yes 4 No
Ramesh Kumar Verma
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
Why is it a bad idea to throw your own exceptions? Visual-Soft 1
What are virtual methods? How are they used? TCS 3
Hi Everyone, the design of the form disappear during writing codes for dataset and data grid. The error show in "line of assigning dataset". I don't know what's happen. If anyone know , please share of technical help from someone. Thanks, Horace Trever   1
Valuetype/reference type? Microsoft 6
Why can?t you specify the accessibility modifier for methods inside the interface?   5
About Virtual functions and their use ? MMTS 13
What is the use of the static constructor? When static constructor gets compiled? Syntel 1
What are anonymous methods ? why these methods are used and in what condition these methods are useful ?   1
How can i load the text box and label at the runtime based on the existing text box and tabel Merrill-Lynch 2
When compiler adds a default constructor to a class? TCS 4
how to implement singelton in C# & its uses? TCS 1
In c# how to connect crystal report?   2
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com