共用方式為


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

Concepts

Data Access Programming (MFC/ATL)