摘要
ODBC是一个允许应用程序连接外部数据库服务器和文件、并执行查询操作的标准协议。应用程序只需要相同的ODBC源代码就可以访问不同的数据库管理系统。VC++提供了多种方法使用ODBC,比如ATL和MFC类库。对Windows2000环境下VisualC++6.0中MFC类库的ODBC数据库访问技术进行探讨。
ODBC is a standard, well established protocol that permits applications to connect external database servers or files, and perform query operations. It is designed for maximum interoperability—that is, the ability of a single application to access different database management systems (DBMSs) with the same source code. Visual C++ provides several ways to work with ODBC. The preferred way is to use one of the class libraries such as the Active Template Class Library (ATL) or Microsoft Foundation Class (MFC) Library. In this article, We'll learn how to use ODBC with MFC.
出处
《湖南人文科技学院学报》
2004年第6期147-149,共3页
Journal of Hunan University of Humanities,Science and Technology