【正文】
ows: Set RecordSet = (sqtStr) 39。Open link. dsnname as a data source。 UID = userID。 because of its serverside implementation, developers do not have to worry about other people download programs for the theft of programming logic. ASP called by suffix. Asp to achieve the ASP document, a. Asp document equivalent to an executable file, it must be placed on Web servers are enforceable under the authority of the directory. When a user from the browser entered. Asp files after the address, the browser will request the URL to Web Server, if the Web Server tops the ASP, called on the ASP. ASP read out accordingly. Asp paper to explain and enforce an order to generate a dynamic HTML pages to return a Web Server, Web Server and then send the results to the browser. ASP and HTML document similar to the production and the development of integrated and HTML, in the same process can be pleted, the ASP will be able to use the implementation of the scripts embedded in HTML documents (HTML files will be changed to the name suffix. Asp), which makes HTML documents The preparation and development of the script together. ASP through the builtin objects, the server ponent (Server Component) can be pleted very plicated task, but users can also use their own or others to plete the development of the server ponent of specialized tasks. Comparing the gateway server and ASP expansion mode has the following advantages: (1) ASP VBScript used by the scripting language from the VB, easy to learn. (2) directly into the HTML scripting language, do not need to pile and can connect directly to explain operation. (3) the use of ADODB ponents easy access to the database. (4) Objectoriented programming, which can be expanded ActiveX Server ponent functions, in theory, can achieve any function. (5) does not exist browser patibility problems, ASP is in the process of serverside run. (6) can be hidden code, the protection of labor results. 2. Emerce data access In emerce systems, Web provides customers with an effective means of munication, the use of Web technology, and Web servers and database system connected to plete the processing of the data query, the user can operate easy to learn through the browser to query Address the needs of various data. ASP is a realization of Web server and database connectivity middleware technology, but on the Windows platform it is relatively gateway and server model has a larger expansion of the merits. Gateway is the most important feature of its platformindependent, but Gateway are normally difficult to prepare and change. Gateway process usually is an independent process, and not HTML document together, it needs such as C, C + +, VB, and other languages to write a standalone application, and ASP applications to change this. ASP can