How to navigate from one page(form) to another page(form)
using C#.net...please give me the example
Answers were Sorted based on User's Feedback
Answer / kala
you have to create a second form object in first form event.
Ex:
form2 objform2=new form2(parameters)
objform2.show();
| Is This Answer Correct ? | 61 Yes | 12 No |
Answer / vikul
Response.Redirect("SamplePage.aspx") OR Server.Transfer
("SamplePage.aspx")
| Is This Answer Correct ? | 37 Yes | 13 No |
Answer / sujai cn
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 | 7 No |
Answer / ramesh kumar verma
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 | 5 No |
Answer / sumitra
fromname objetname=new formname();
objectname.show();
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain anonymous type in c#?
What is hiding in CSharp ?
Will finally block get executed if the exception had not occurred?
What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?
What if an error occurs in Catch block, how can you prevent it?
Can we have two main methods in c#?
What is the use of 'as' Keyword in C# ?
What?s different about switch statements in C#?
What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.
What is the use of nullable types in c#?
What are native functions?
What is a clr (common language runtime)?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)