Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Program ended with error or warning, return code: 4

14289


In .net how many error will occur?

2766