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



How to navigate from one page(form) to another page(form) using C#.net...please give me the exampl..

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

How to navigate from one page(form) to another page(form) using C#.net...please give me the exampl..

Answer / vikul

Response.Redirect("SamplePage.aspx") OR Server.Transfer
("SamplePage.aspx")

Is This Answer Correct ?    37 Yes 13 No

How to navigate from one page(form) to another page(form) using C#.net...please give me the exampl..

Answer / k.alekhya

form2 bond=new form2();
bond.show();

Is This Answer Correct ?    19 Yes 4 No

How to navigate from one page(form) to another page(form) using C#.net...please give me the exampl..

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

How to navigate from one page(form) to another page(form) using C#.net...please give me the exampl..

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

How to navigate from one page(form) to another page(form) using C#.net...please give me the exampl..

Answer / sumitra

fromname objetname=new formname();
objectname.show();

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are generations and how are they used by the garbage collector?

0 Answers  


What does console mean c#?

0 Answers  


What do you mean by parsing and how to parse a date time string in c#?

0 Answers  


Why can’t struct be used instead of class for storing entity?

0 Answers  


In .NET which is the smallest unit of execution?

0 Answers   Siebel,


What is stringwriter c#?

0 Answers  


Why do we need constructor in c#?

0 Answers  


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

0 Answers  


use of operator overloading of implicit & explicit operators?

1 Answers   TCS,


What are extensions methods in c#?

0 Answers  


What is delegate in c#?

0 Answers  


Why main method is static in c#?

0 Answers  


Categories