首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一个增强的数据库类CDataSet 因为MFC完全支持数据库应用程序的开发,所以大多数数据库应用都使用CDatabase和CRecordset类,并且类向导(C

一个增强的数据库类CDataSet 因为MFC完全支持数据库应用程序的开发,所以大多数数据库应用都使用CDatabase和CRecordset类,并且类向导(C

  • 资源大小:32.85 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: ADO-ODBC

资 源 简 介

一个增强的数据库类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

文 件 列 表

Projects
DbTest
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
VIP VIP
0.186483s