Open Database Connectivity (ODBC)

The Microsoft Foundation Classes (MFC) library supplies classes for programming with Open Database Connectivity (ODBC). As of Visual Studio 2015 and SQL Server 2012 ODBC is the preferred way to connect to SQL data sources.

For more information about using the ODBC API without MFC, see the Open Database Connectivity (ODBC) documentation.

In This Section

ODBC Database Tasks

These tasks are based on the MFC ODBC classes. For more information about using the ODBC API without MFC, see the Open Database Connectivity (ODBC) SDK.

See also

Data Access Programming (MFC/ATL)