Crystal translation-yesky
Web controls makes it easy to create forms and HTML controls. For example, in a typical select box/select box in ASP,
You have to create a loop to let the control system load data. However, in ASP.net, you will have a "data-bound", which means that it will
Connection, and data is automatically loaded.
These functions sound amazing, but let's examine them in detail. With traditional ASP and ADO, you can choose where to place data
Database cursors (server side or user side) depend on the performance and function type you want to create to make decisions. But in ASP +, you do not
Then select. Because the link between the web controls and the server forces you to place everything on the client. For customers and servers
It is not suitable for a performance center because it must store all the data in the local memory.
Web controls also introduces new syntaxes in strict XML terms. Therefore, you no longer have loose code editing processes. You must disable all
. Of course, most people will feel very painful to adapt to this function, but the strict code editing process usually means more
Fewer errors.
On the other hand, the defect of web forms is that to use most of the functions of web form, you must use the POST method of forms; for example, state
Management. When you use the GET method, all the best will be disabled, and you will not be able to use the corresponding functions. This restriction is too unnecessary.
ASP. NET Server Controls
The previous components of many systems are now ASP. NET Server Controls. For example, the ad rotator has been upgraded and started to store its messages using XML.
But not just that. There is a complete control system, which can do anything, from managing your form status on your behalf to displaying calendars and desktops. In fact,
Almost every HTML element has ASP. NET Server Controls. through ASP. NET Server Control, the interaction with HTML elements can be stylized. Example
For example, you no longer need to make a detour to maintain the OPTION selected in The LISTBOX. You only need to instruct LISTBOX to operate on the server and manage it on your behalf.
You can. More conveniently, you only need to set the program, and The LISTBOX will display the selected project in sequence according to the command.