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)

Answers were Sorted based on User's Feedback



Hi Everyone, I used VB.net until last year, this year I change my language to C#.net.But the easy o..

Answer / gyany

if u r working on vs 2005 and so on u can find those
options also

there is no much difference between c# and vb.

Is This Answer Correct ?    10 Yes 1 No

Hi Everyone, I used VB.net until last year, this year I change my language to C#.net.But the easy o..

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

Hi Everyone, I used VB.net until last year, this year I change my language to C#.net.But the easy o..

Answer / sree_mca35

C#.net in winforms,go to program.cs file and there write as
like this

static void main()
{
Application.Run(new desiredformname());
}

Is This Answer Correct ?    3 Yes 0 No

Hi Everyone, I used VB.net until last year, this year I change my language to C#.net.But the easy o..

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

More DotNet Errors Interview Questions

sir, i have passed on S.B.I for clerk asstt. and i want to know that how many candidates were appointed from s.c cota?

1 Answers   State Bank Of India SBI,


What is Managerial Grid? Contract its approach to leadership with the approaches of the Ohio state and Michigan groups.

1 Answers  


not being able to create delivery from vl01n inspite of assigning sales order and delivery plz answer it immediately if any one knows

1 Answers  


How to find out syntax error by manual testing

3 Answers  


Actually,I created a web application in ASP.NET (Visual Studio 2008) in C#.If i want to run my web application in my local machine through IIS Server (Internet Information Server), what are all the steps i need to follow??? Please help me to run my web application in IIS Server

1 Answers  






Hi everyone, I got some problem this week. I don't know the coding for "Linklabel" in C#.net. In ASP.net, I use it "Response.Redirect" and "Server.Transfer" and I also can use hyperlink. When offline I use "linklabel", Now I still write by "System.Dianogstic", It still showing error and can't reach my dedicated page(Means design page). So if anyone know it, please share your technical help. Thanks (Horace Trever)

1 Answers  


a cowboy rides to town on friday he stays there for three days and lives on friday.how was that possible

2 Answers   Synechron,


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)

4 Answers  


what is wrong with this insert into code? vb 2008 say that there is a syntax error but i believe there is nothing.. cmd.CommandText = " INSERT INTO account1(username, password, lname, fname, mi) VALUES('" & Me.TextBox4.Text & "','" & Me.TextBox5.Text & "','" & Me.TextBox1.Text & "','" & Me.TextBox2.Text & "','" & Me.TextBox3.Text & "')" cmd.ExecuteNonQuery()

2 Answers  


How to use singal crystal report viewer to multiple reports?

1 Answers   Sparsh,


how we change the .net 1.0 to .net 2.0?is that can we only paste the dll file?

1 Answers  


What is Difference Between Server.Response and Response.Redirect in ASP.Net with C#?

1 Answers   Infosys, NIIT,


Categories