文件名称:dbclass
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 33kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
因为MFC完全支持数据库应用程序的开发,所以大多数数据库应用都使用CDatabase和CRecordset类,并且类向导(Class Wizard)提供了快速简易的方式来使用这两个类。有一点不足的就是当应用程序涉及到多表数据库时,类向导将产生大量的关于记录集的源码文件使得工程(project)给人的感觉很混乱。
这里介绍如何使用一个模板记录集类来降低类向导所产生的记录集文件的数量,同时增强记录积类(CRecordset)的功能。这个模板记录集类叫做:CDataSet。它的主要目的是降低代码量,为数据对象数组提供一个接口。-MFC full support for the development of database applications, most database applications use CDatabase and CRecordset classes, and Class Wizard (Class Wizard) provides a quick and easy way to use these two classes. A bit less than when the application is related to multi-table database, the class wizard will generate a lot of records set on the project was the source file (project) feels very confusing. Here' s how to use a template to reduce the class record set class of records generated by the wizard sets the number of files, while enhancing the recorded product category (CRecordset) function. This template recordset class called: CDataSet. Its main purpose is to reduce the amount of code, to provide an interface to an array of data objects.
这里介绍如何使用一个模板记录集类来降低类向导所产生的记录集文件的数量,同时增强记录积类(CRecordset)的功能。这个模板记录集类叫做:CDataSet。它的主要目的是降低代码量,为数据对象数组提供一个接口。-MFC full support for the development of database applications, most database applications use CDatabase and CRecordset classes, and Class Wizard (Class Wizard) provides a quick and easy way to use these two classes. A bit less than when the application is related to multi-table database, the class wizard will generate a lot of records set on the project was the source file (project) feels very confusing. Here' s how to use a template to reduce the class record set class of records generated by the wizard sets the number of files, while enhancing the recorded product category (CRecordset) function. This template recordset class called: CDataSet. Its main purpose is to reduce the amount of code, to provide an interface to an array of data objects.
相关搜索: CRecordSet
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Projects\DbTest\ChildView.cpp
........\......\ChildView.h
........\......\DataSet.cpp
........\......\DataSet.h
........\......\DbTest.clw
........\......\DbTest.cpp
........\......\DbTest.dsp
........\......\DbTest.dsw
........\......\DbTest.h
........\......\DbTest.rc
........\......\MainFrm.cpp
........\......\MainFrm.h
........\......\resource.h
........\......\StdAfx.cpp
........\......\StdAfx.h
........\......\Test.mdb
........\......\res
........\......\...\DbTest.ico
........\......\...\DbTest.rc2
........\......\...\Toolbar.bmp
........\......\Debug
........\......\.....\DbTest.exe
........\......\ChildView.h
........\......\DataSet.cpp
........\......\DataSet.h
........\......\DbTest.clw
........\......\DbTest.cpp
........\......\DbTest.dsp
........\......\DbTest.dsw
........\......\DbTest.h
........\......\DbTest.rc
........\......\MainFrm.cpp
........\......\MainFrm.h
........\......\resource.h
........\......\StdAfx.cpp
........\......\StdAfx.h
........\......\Test.mdb
........\......\res
........\......\...\DbTest.ico
........\......\...\DbTest.rc2
........\......\...\Toolbar.bmp
........\......\Debug
........\......\.....\DbTest.exe