文件名称:一个增强的数据库类CDataSet
- 所属分类:
- 数据库编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 32.85kb
- 下载次数:
- 0次
- 提 供 者:
- 杨*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个增强的数据库类CDataSet 因为MFC完全支持数据库应用程序的开发,所以大多数数据库应用都使用CDatabase和CRecordset类,并且类向导(Class Wizard)提供了快速简易的方式来使用这两个类。有一点不足的就是当应用程序涉及到多表数据库时,类向导将产生大量的关于记录集的源码文件使得工程(project)给人的感觉很混乱。 本文介绍如何使用一个模板记录集类来降低类向导所产生的记录集文件的数量,同时增强记录积类(CRecordset)的功能。这个模板记录集类叫做:CDataSet。它的主要目的是降低代码量,为数据对象数组提供一个接口。-an enhanced database category CDataSet because MFC fully support database application development, the majority of database applications used CDatabase and CRecordset class and category Wizard (Class Wizard) provides a fast and easy way to use these two categories. There is one point when the shortage of applications related to multi-table database, the wizard class will have a lot of records set on the source document makes the project (project) gives the impression that very confused. This paper describes how to use a template Records Set to reduce class wizard from the record set in the volume of documentation, while enhancing the plot record category (CRecordset) function. The template called Set Records : CDataSet. Its main purpose is to reduce the amount of code and data objects to p
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 6404一个增强的数据库类cdataset.zip 列表 Projects/DbTest/ChildView.cpp Projects/DbTest/ChildView.h Projects/DbTest/DataSet.cpp Projects/DbTest/DataSet.h Projects/DbTest/DbTest.clw Projects/DbTest/DbTest.cpp Projects/DbTest/DbTest.dsp Projects/DbTest/DbTest.dsw Projects/DbTest/DbTest.h Projects/DbTest/DbTest.rc Projects/DbTest/Debug/ Projects/DbTest/Debug/DbTest.exe Projects/DbTest/MainFrm.cpp Projects/DbTest/MainFrm.h Projects/DbTest/res/ Projects/DbTest/resource.h Projects/DbTest/res/DbTest.ico Projects/DbTest/res/DbTest.rc2 Projects/DbTest/res/Toolbar.bmp Projects/DbTest/StdAfx.cpp Projects/DbTest/StdAfx.h Projects/DbTest/Test.mdb