ADO Introduction


ADO is used to access databases from web pages.


Prerequisites

Before you continue, you need a basic understanding of the following:

  • WWW, HTML, and a basic understanding of website construction
  • ASP (Active Server Pages)
  • SQL (Structured Query Language)

If you wish to first learn these items, please go to ourhomepageto visit these tutorials.


What is ADO?

  • ADO is a Microsoft technology
  • ADO stands for ActiveX Data Objects (ActiveX Data Objects)
  • ADO is a Microsoft Active-X component
  • ADO is automatically installed with Microsoft IIS
  • ADO is a programming interface for accessing data in databases

Accessing a Database from an ASP Page

The usual way to access a database from within an ASP page is:

  1. Create an ADO connection to the database
  2. Open the database connection
  3. Create an ADO recordset
  4. Extract the data you need from the recordset
  5. Close the recordset
  6. Close the connection
Other extensions