2000-10-31 · Zhao Yu · yesky
In ASP +, when the server retrieves data from the database for the first time, the data is stored in the variable. After the server receives the same request, cached data is directly transferred from the server to the client. Now we don't have to disturb the database.
Of course, you have to set the data cache duration in the code. When the specified time or meets specific conditions, you can clear the cache and retrieve new data. How to set the cache duration depends on your needs and skills.
4. ADO +, more easy to use ADO
Microsoft has launched ASP + and a brand new ADO, that is, ADO +. ADO + processes data in an n-dimensional (n-dimen1_) object-oriented manner. In ADO, data is presented in two-dimensional form, namely, rows and columns. But what if there is a specific row and column in The RecordSet itself as a RecordSet to form a new dimension? This situation is tricky in ADO, but using ADO + to create such a multi-dimensional RecordSet is just a breeze.
In fact, The RecordSet mentioned above no longer exists in ADO + and is replaced by DataSet. In ADO +, DataSet is equivalent to a set of RecordSet, while DataView is similar to RecordSet.
III. Server-side controls
Another attractive aspect of ASP + is the addition of more useful server-side controls. Microsoft apparently listened well to the feedback from web developers. The new controls not only enhanced ASP + functions, at the same time, I handed over a lot of tedious and repetitive work that had previously caused developers' headaches to the controls. The following is a general classification of these controls:
1. List controls
This type of control makes it easier to create a list in the client browser and gives you more customization. Now you can spend less energy on page layout. Examples include Repeater, DataList, and DataGrid controls.
2. Rich controls
These controls are used to generate more complex and rich HTML elements on the client. For example, calender Control
3. Validation controls
Verification controls are implicit controls used for client-side and server-side verification. The number of such controls is quite large. It can complete all kinds of verification tasks that require manual coding. Programmers can now save a lot of If... else statements. For example: RequiredFieldValidator control, CompareValidator control, RangeValidator control, and RegularExpressionValidator control
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