1. Install visual Web Developer 2010 learning edition or VS2008 and VS2010
2. Open the software, file/create a website/asp.net website, select the event processing language C Sharp or VB, and click "OK" to initialize a web development project.
3. The default value is default. aspx: In this document, write html controls or controls in asp.net, for example, <asp: Button>. Click View/toolbox to open various UI control panels, drag the Button to default. the aspx design interface will produce a button in aspx and. generate the click function corresponding to this button in cs. (For other UI controls, such as TextBox in the text input box, single-sheet RadioButton, and CheckBox, all UI controls have their own attributes, as long as the <asp: control Name property 1 = "value" Property 2 = "value"/> enter a space and it will be displayed.
4. Double-click the dragged UI control to edit the Click Event corresponding to the UI control (the same as VB). For example, you can obtain the value from ID = "myTextBox, the ID = "myLabel" label is displayed, and the code is myLabel. text = myTextBox. text; that's simple. /* You can directly operate the UI controls in various aspx files */
5. Run ctrl + F5 to preview the current page from the built-in web server provided by visual web developer.