Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.95 KB

odbc-and-mfc.md

File metadata and controls

30 lines (19 loc) · 1.95 KB
title description ms.date helpviewer_keywords
ODBC and MFC
Learn more about: ODBC and MFC
11/04/2016
ODBC [C++], MFC
connections [C++], databases
connections [C++], data source
databases [C++], connecting to
data sources [C++], connecting to
MFC [C++], ODBC and
database connections [C++], MFC ODBC classes

ODBC and MFC

Note

To use the MFC database classes, you must have the appropriate ODBC driver for your data source. The lastest Microsoft ODBC driver for SQL Server is Microsoft ODBC Driver 18 for SQL Server. Most database vendors provide an ODBC driver for Windows.

This topic introduces the main concepts of the Microsoft Foundation Classes (MFC) library's ODBC-based database classes and provides an overview of how the classes work together. For more information about ODBC and MFC, see the following topics:

The MFC database classes based on ODBC are designed to provide access to any database for which an ODBC driver is available. Because the classes use ODBC, your application can access data in many different data formats and different local/remote configurations. You do not have to write special-case code to handle different database management systems (DBMSs). As long as your users have an appropriate ODBC driver for the data they want to access, they can use your program to manipulate data in tables stored there.

See also

Open Database Connectivity (ODBC)