Introduction to ActiveX Data Object
Tutorials Shared by the Internet Community
Total Hits - 33359
Total Votes - 105 votes
Vote Up - 45 votes
Vote Down - 60 votes
Domain - www.herongyang.com
Category - ASP/Database Concepts
Submitted By - Devesh Khanna
Submitted on - 2008-03-06 09:25:02
What is ADO?
ADO: An application programming interface (API) to access relational database management systems.
* ADO is provided as a DLL, and usually installed at "c:\program files\common files\system\ado\msadox.dll".
* ADO can access databases connected through ODBC data source names (DSN).
* ADO can also access MS Access database files.
* ADO is built on top of OLE DB technology.
* ADO API is very similar to DAO.
If you want your ASP pages to access your customer relation management (CRM) system, which is running on an Oracle database system, you need to:
1. Install an ODBC driver for Oracle database systems.
2. Create a DSN with ODBC that connects to the CRM system on the Oracle system.
3. Create ADO object in the ASP page, and connect it to the DSN.
4. Using the methods offered by the ADO object to update and query the CRM system. More detail...