asp+ Syntax Introduction (iii) server-side programming of----asp+

Source: Internet
Author: User
Tags client
asp+| Programming | server | syntax | server/*
Article Source: http://www.aspCool.com reprint Please specify, thank you!
*/
This chapter describes the server-side controls for asp+
In addition to using <%%>, Asp+ 's program developers can now use new tags to generate dynamic pages, and new server controls can use a special tag runat=server in asp+ files to declare
The following example uses several server controls ,,, and in the process of running, they will automatically generate HTML code











Name:

Category:
Psychology
Business
Popular_comp










The results of this example run in
Http://tutorial.superexpert.com/quickstart/aspplus/samples/webforms/intro/intro4.aspx

Note: These server controls generate HTML code on the client, but the contents of these server controls are not stored in the hidden, but the facts are saved between pages, and there is no script code at the client.

In addition to these input server controls, asp+ allows developers to enrich some of the colonized controls, for example, the controls we'll see in the following example are dynamically generated AD images














Name:

Category:
Psychology
Business
Popular_comp










The contents of the advertising document are:



/quickstart/aspplus/images/banner1.gif
http://www.microsoft.com
Alt Text
Computers
80



/quickstart/aspplus/images/banner2.gif
http://www.microsoft.com
Alt Text
Computers
%



/quicks Tart/aspplus/images/banner3.gif
http://www.microsoft.com
Alt Text
Computers
%




This example runs in:
Http://tutorial.superexpert.com/quickstart/aspplus/samples/webforms/intro/int Ro5.aspx
These are some simple descriptions of the server controls for asp+ files, and we'll explain some of the Advanced asp+ server control articles
here.



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.