VS2012 第一个ASP.NET hello word程序

1. New Project --> Visual C# -->Web --> ASP.NET Empty Web Application


2.Right click Project name --> Add --> Web Form


3. add content into hellowordfrom.aspx

     


       
   


4. add content into hellowordorm.aspx.cs

protected void Page_Load(object sender, EventArgs e)
        {
            label1.Text = "This is the first asp.net application, Hello World";
        }


5. add content into Web.config

 
   
 


6. press F5 to run

你可能感兴趣的:(ASP.NET)