The difference between asp+ and ASP (4)

Source: Internet
Author: User
Control of asp+| difference Automatic maintenance state
Author: green Apple Computer Studio

How do asp+ help us in the usual situations? The following list shows the use of the asp+ server to control the automatic state
The changes that are needed. Or use the Response.Write method to display the selected values. But some of the elements on this page will be increased
A special runat= "server" attribute. asp+ see these elements, they are processed on the server and created for customers
The appropriate HTML output.

〈form runat= "Server"
Machine Name:
〈input type= "text" id= "txtname" runat= "Server"
〈p/〉
Operating System:
〈select id= "Selopsys" size= "1" runat= "Server"
〈option〉windows 95〈/option〉
〈option〉windows 98〈/option〉
〈option〉windows nt4〈/option〉
〈option〉windows 2000〈/option〉
〈/select〉
〈p/〉
〈input type= "Submit" value= "Submit"
〈/form〉

You can see clearly that this asp+ page is simpler than the previous example. When the Internet Explorer 5 is loaded and the value is submitted
To the server, the results appear the same.



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.