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 / kishore ganti
hii ,
seting the start page in web applications is similar
to any programming language(c# ,vb.net) you use with
asp.net.
just go to solution explorer an go to the desired
page ,right click on it and an option appears "set as
start page".click on it.
if u are working with windows applications in C# then u
wil NOT find the option like set as start page.
steps.....
goto program.cs
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 ? | 10 Yes | 2 No |
Post New Answer View All Answers