Share via


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++ and SQL Server 2005, see Data Access Using ADO.NET (C++/CLI) and Accessing Data in Visual Studio.

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.

  • OLE DB Templates
    Provides reference material for the OLE DB consumer and provider templates, a set of template classes that implement many commonly used OLE DB interfaces.

  • MFC Reference
    Provides reference material for the MFC Library, a set of classes that constitute an application framework, which is the framework of an application written for the Windows API.