Asp.net visual web developer Day 1

Source: Internet
Author: User

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.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.