|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Data Access (C++)
This section covers the legacy technologies you can use for database programming in Visual C++. For information on data access programming using Visual C++ 2005 and SQL Server 2005, see, , and .
In This Section
- Data Access Programming
Describes data access programming with Visual C++, where the preferred way is to use one of the class libraries such as the Active Template Class Library (ATL) or Microsoft Foundation Class (MFC) Library, which simplify working with the database APIs.
- OLE DB Programming
Provides links to conceptual topics discussing the OLE DB database technology and the OLE DB Template Library.
- Open Database Connectivity (ODBC)
Provides links to conceptual topics discussing targeting ODBC with MFC.
- Data-Bound Controls (ADO and RDO)
Discusses a reusable databinding mechanism through ActiveX controls in MFC projects that lets you rapidly develop database applications.