Introduction to ADO Y.-H. Chen International College Ming-Chuan University Fall, 2004
2 What is ADO? ADO stands for ActiveX Data Objects. With ADO you can access and manipulate data in a database. You can move data from a server to a client, manipulate the data, and return updates to the server, with ADO's Remote Data Service (RDS). ADO and RDS are automatically installed with Microsoft IIS.
3 What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a Microsoft Active-X component ADO is automatically installed with Microsoft IIS ADO is a programming interface to access data in a database
4 What you should already know? Before you continue you should have a basic understanding of the following: –WWW, HTML and the basics of building Web pages –Active Server Pages (ASP) –Structured Query Language (SQL)
5 Accessing a Database from ASP The common way to access a database from inside an ASP page is to: –Create an ADO connection to a database –Open the database connection –Create an ADO recordset –Open the recordset –Extract the data you need from the recordset –Close the recordset –Close the connection