Swimming online (yousoft.hi.com.cn) Author: Xu Changyou general construction sites often require developers to do the background of programming, in front of a professional graphic interface is designed to do. Although the developer will also do some interface design, it is usually unable to meet professional requirements. In the previous ASP, this makes the construction of the website make quite difficult due to the complexity of the code and HTML page language. But in ASP.NET, this situation changes completely. Let's build a simple ASP.NET application with C # Builder. Open C # Builder, select File> New> Other ... menu item, you will see the following window: We choose C # Asp Projects, you will see 3 available options on the right. We choose ASP.NET Web Application to start creating our first ASP.NET application. C # Builder automatically creates a virtual directory below where the WWWROOT directory is located, here is called WebApplication1, and you can take one of the other names based on the functionality. Open IIS at this time, you will find a virtual directory called WebApplication1, if you don't have automatically created, create a virtual directory with IIS. You will see C # Builder to automatically build a web page called WebForm1. There is a Label and a button here. (Note: Yes HTML Label and HTML Button), as shown: Press F9 to run the program, you will see a simple ASP.NET web page.
Is not it simple? The following is the HTML page we built <% @ page language = "c #" debug = "true" codebehind = "Webform1.aspx.cs" autoeventwireup = "false" inherits = "Myaspx.webform1"%>