Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.24 KB

odbc-and-mfc.md

File metadata and controls

39 lines (30 loc) · 2.24 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
ODBC and MFC | Microsoft Docs
11/04/2016
cpp-windows
article
C++
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
98f02fd7-1235-437b-89a9-edfd0fc797f7
10
mikeblome
mblome
ghogen

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 13 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)