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 |
What is difference between field and property in c#?
What is unmannaged code and will CLR handle this kind of code or not .
Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?
What is the purpose of escape sequence?
What is delegate in c# interview questions?
What is view model in c#?
Is collection a data structure?
What is concatenation and when should it be used?
What is the difference between static class and sealed class in c#?
Can you declare the override method static while the original method is non-static?
Can you inherit multiple interfaces?
7 Answers Host4Big, Mind Tree, Moftak Solutions, Siebel Systems,
What is the use of tryparse in c#?