Hi Everyone, I used VB.net until last year, this year I
change my language to C#.net.But the easy one in VB.net such
as "Set as Start page when running program", right click on
solution explorer and do it. But in C#.net I can't find the
way to do (Set as start page)until now. If anyone know it ,
please share your technical help. Thanks . (Horace Trever)
Answer Posted / sanjay
if u are using asp.net with c# and creating window
applications.do the followig step
goto program.cs // in solution explorer and open it
static void Main()
{
Application.Run(new form1());
}
suppose you want to setpage for form2.Change the coding
following
static void Main()
{
Application.Run(new form2());
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers