OLE DB Programming
 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

This home page is your starting point for information about the Microsoft OLE DB database technology and the OLE DB Template Library.

It is important to know that Microsoft provides several implementations of OLE DB. OLE DB is a set of COM interfaces that provide uniform access to data in diverse information sources and formats.

The OLE DB templates are C++ templates that make the high-performance OLE DB database technology easier to use by providing classes that implement many commonly used OLE DB interfaces. This template library is divided into consumer templates and provider templates.

Visual C++ also has wizard support for creating OLE DB starter applications.

In addition, you can use attributes to implement the OLE DB consumer templates.

To learn more aboutSee
Using the OLE DB consumer templates (conceptual topics) OLE DB Consumer Templates
Using the OLE DB provider templates (conceptual topics) OLE DB Provider Templates
OLE DB templates classes and macros OLE DB Templates Reference (Visual C++)
OLE DB consumer attributes OLE DB Consumer Attributes
OLE DB interfaces OLE DB programmer's reference (in the Windows SDK)
OLE DB templates samples OLE DB Templates Samples
Data access programming overview (Visual C++) Data Access Programming
ODBC vs. DAO Should I Use DAO or ODBC?
ODBC conceptual topics Open Database Connectivity (ODBC)
Data-bound controls (ADO and RDO) conceptual topics Data-Bound Controls (ADO and RDO)

Data Access