MDAC 2.5 SDK - ADO


 

Sample Applications

See Also

The following sections describe the sample applications included with MDAC for ADO and RDS. These samples are intended to help customers learn how to use ADO and RDS, but are not intended to be deployed on production servers.

Note   Companies, names, and data used in samples are fictitious unless otherwise noted.

ADO includes the following sample applications. From the Microsoft Platform SDK, they are installed to c:\Platform SDK\Samples\DataAccess\ado.

Sample application Description
ADOASP Demonstrates how to use ADO in Microsoft Active Server Pages.
ADOISAPI Demonstrates how to use ADO from C/C++ ISAPI extensions with Microsoft Internet Information Services.
ADOJAVA Demonstrates how to use ADO from Java and Java integrated with COM.
ADOVBS Demonstrates how to use ADO from Visual Basic, Scripting Edition (VBScript) and HTML. Also demonstrates how ADO, VBScript, and HTML on the client can be used to build a two- or three-tier Web application for an intranet.
MSDAIPP Demonstrates how to use ADO Record and Stream objects with semi-structured data using the Microsoft OLE DB Provider for Internet Publishing.
XML Demonstrates how to save a Recordset in XML format to the IIS Response object to transfer data in an XML stream to an Internet client.

RDS includes the following sample applications that demonstrate how to use RDS to build intranet and Internet applications. They are installed to c:\Platform SDK\Samples\DataAccess\rds. Before running the applications, you should set up an Internet Information Services virtual root, with script and execute permissions called RDS, that points to the RDS samples installation directory.

Sample application Description
RDSTest Demonstrates a simple use of RDS.
Address Book Demonstrates a practical use of RDS in a simple company directory application.
Handler Demonstrates custom DataFactory handlers in Visual Basic and Visual C++.

Note   When installing the RDS sample applications, a SQL Server account, adcdemo, is created with a password of adcdemo. A "login failed" message may appear when running the sample applications; if this occurs, just reset the username and password to the test account information.