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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a predicate in c#?

570


What are extension methods and where can we use them?

535


Why delegates are type safe in c#?

596


Differentiate between sqlclient oledb and providers?

587


Can structs in c# have destructors?

635






What does using do in c#?

592


What is the difference between first and firstordefault?

529


What is difference between ienumerable and iqueryable in c#?

581


What can be done with c#?

527


What is verbatim string?

590


Difference between debug.write and trace.write?

614


Distinguish between system.string and system.text.stringbuilder classes?

540


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

561


what are the contents of an assembly ?

651


Is c# still popular?

560