MDAC 2.5 SDK - ADO


 

ADO ASP Sample

ADOASP demonstrates how to use ADO in Microsoft Active Server Pages. It is installed to c:\Platform SDK\Samples\DataAccess\ado\ASP.

In this sample, information about books, such as titles and pricing, is obtained from the Pubs sample database. ADOASP allows Web clients to browse through the titles and calculate the total price of their selections.

The sample also requires that the Pubs sample database be installed on Microsoft SQL Server.

To run ADOASP

  1. Copy the .asp, .jpg, and .gif files of this sample to some directory on your Web server computer with read and execute access.

  2. Open cmpsales.asp in your Web browser with the address: http://computer name/virtual directory/cmpsales.asp, where computer name and virtual directory are your computer name and the virtual directory pointing to the location of the sample files copied in Step 1.