共用方式為


MFC Database Classes (ODBC and DAO)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at MFC Database Classes (ODBC and DAO).

NOTE]

Microsoft recommends using OLE DB or ODBC for new projects. DAO should only be used in maintaining existing applications.

Because MFC implements DAO and ODBC differently, the documentation for each class is almost completely separate. The DAO SDK is provided on the Visual C++ CD-ROM, and the ODBC SDK is provided on the MSDN Library CD-ROM. The following table lists the next topics to read if you are just beginning to study the MFC DAO classes or the MFC ODBC classes.

For more information, see the following topics:

See Also

Data Access Programming (MFC/ATL)