Programming | server | experience writer; knife
One of the great advantages of using ASP programming is that you can use a large number of server components (ActiveX server components). These components provide such as advertisement wheel display
(Ad rotator), browser-compatible (Browser capabilities), database access, file hyperlinks (Content
Linking), file access (Files access), and so on. With server components, you can efficiently accomplish a variety of complex works in a very simple way
For
Generally, the components of an ASP are typically created using the Server.CreateObject method. For example, creating an Ad Rotator component is available:
<%
Set ad = Server.createobjet ("MSWC. AdRotator ")
%>
The ActiveX Data Object (ADO) component plays an extremely important role in the various components of the ASP. It is a Web page design developer who can provide
Fast access to the Internet database, and on the user side to achieve real-time online update display of web database technology; ADO is almost compatible with a variety of database systems, while
And across a variety of different programming language development environment.
For example, we provide a variety of hardware upgrades to our customer base on the Web, while at the same time we want to be able to record our customers ' relevant information. In
Previously, this kind of web interoperability was typically done with CGI, not only difficult to write and maintain, but also a huge drain on the processor. Now, we use the ASP's
ADO components, you can be in a short two hours before the easy completion of the three days to complete the development work, and do not have to spend too much time and effort
Put it on the maintenance.
First of all, we need to write a form page for the user to fill in the information, or we can also put this page and the following ASP processing program in the same file
, only the object that we need to mark the action in the <form> code is this program (or nothing at all).
Assuming that our program name is download.html, the following is the original code:
<body>
' How to declare a submission method and how to deliver it
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.