首页 | 本学科首页   官方微博 | 高级检索  
     

MFC数据库访问接口技术
引用本文:刘伟. MFC数据库访问接口技术[J]. 电脑编程技巧与维护, 2010, 0(8): 72-73
作者姓名:刘伟
作者单位:天津工业大学,天津,300160
摘    要:MFC中,使用CDatabase类与CRecordset类完成ODBC数据库操作。CDatabase负责连接管理和基本SQL语句执行,CRecordset承载查询数据。ADO访问技术中,可使用_ConnectionPtr和_RecordsetPtr两个接口,完成类似操作。

关 键 词:微软基础类库  开放式数据连接  活动数据对象

Database Access Interfaces in MFC
LIU Wei. Database Access Interfaces in MFC[J]. Computer Programming Skills & Maintenance, 2010, 0(8): 72-73
Authors:LIU Wei
Affiliation:Tianjin Polytechnic University;Tianjin 300160
Abstract:MFC uses the CRecordset class and CDatabase class to complete ODBC database operations.CDatabase is respon-sible for connection management and the implementation of the basic SQL statements.CRecordset load query data.In ADO access technologies,using_ConnectionPtr and_RecordsetPtr two interfaces to complete a similar operation.
Keywords:MFC  ODBC  ADO  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号