Welcome![Sign In][Sign Up]
Location:
Search - odbcclass_src.zip

Search list

[ADO-ODBC一个增强的数据库类CDataSet

Description: 一个增强的数据库类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
Platform: | Size: 33792 | Author: 杨葶 | Hits:

CodeBus www.codebus.net