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.