文件名称:CtrlListDatabase
- 所属分类:
- 教育/学校应用
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2.41mb
- 下载次数:
- 1次
- 提 供 者:
- 康**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本文以“学生信息管理”系统雏形为例子,介绍在MFC下如何使用ADO连接数据库编程,并给出示例代码。下面内容第一至四节介绍如何采用ADO连接数据库、关闭数据、执行sql语句及如何用另一种方式执行常用的select语句。第五节介绍如何使用Datagrid控件:建立_RecordsetPtr对象与Datagrid控件之间的绑定,通过改变_RecordsetPtr对象的内容更新数据库表的记录。第一至四节的内容请参考代码“CtrlListDatabase.rar”,第五节内容请参考“Datagrid.rar”请同学们结合ADO.NET课程内容自主学习,将所学到的技术应用到项目实训中。-In this paper, " Student Information Management" system prototype as an example, describes how to use ADO connection MFC database programming, and gives sample code. The following section describes how the contents of the first four databases using ADO connection, turn off the data, and how to execute sql statements in a different manner commonly used in select statements. Section V describes how to use Datagrid control: the establishment of _RecordsetPtr object and Datagrid binding between controls, the contents of the object by changing the _RecordsetPtr update the database tables. The contents of the first four sections, please reference code " CtrlListDatabase.rar" , please refer to section V, " Datagrid.rar" ask someone with ADO.NET independent study course, will have learned techniques to project training in .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CtrlListDatabase\CtrlListDatabase.opt
................\ADODatabase.cpp
................\CtrlListDatabase.clw
................\ReadMe.txt
................\CtrlListDatabase.h
................\CtrlListDatabase.cpp
................\StdAfx.cpp
................\res\CtrlListDatabase.rc2
................\...\CtrlListDatabase.ico
................\CtrlListDatabase.dsw
................\CtrlListDatabase.ncb
................\Debug\CtrlListDatabase.res
................\.....\vc60.idb
................\.....\CtrlListDatabase.pch
................\.....\vc60.pdb
................\.....\CtrlListDatabase.exe
................\.....\CtrlListDatabase.pdb
................\.....\msado15.tlh
................\.....\msado15.tli
................\.....\StdAfx.obj
................\.....\CtrlListDatabase.obj
................\.....\CtrlListDatabase.ilk
................\.....\EditInfoDlg.obj
................\.....\CtrlListDatabaseDlg.obj
................\.....\ADODatabase.obj
................\CtrlListDatabase.plg
................\StdAfx.h
................\ADODatabase.h
................\test.mdb
................\EditInfoDlg.h
................\EditInfoDlg.cpp
................\CtrlListDatabase.dsp
................\Resource.h
................\CtrlListDatabase.aps
................\CtrlListDatabase.rc
................\CtrlListDatabaseDlg.h
................\CtrlListDatabaseDlg.cpp
................\res
................\Debug
CtrlListDatabase
................\ADODatabase.cpp
................\CtrlListDatabase.clw
................\ReadMe.txt
................\CtrlListDatabase.h
................\CtrlListDatabase.cpp
................\StdAfx.cpp
................\res\CtrlListDatabase.rc2
................\...\CtrlListDatabase.ico
................\CtrlListDatabase.dsw
................\CtrlListDatabase.ncb
................\Debug\CtrlListDatabase.res
................\.....\vc60.idb
................\.....\CtrlListDatabase.pch
................\.....\vc60.pdb
................\.....\CtrlListDatabase.exe
................\.....\CtrlListDatabase.pdb
................\.....\msado15.tlh
................\.....\msado15.tli
................\.....\StdAfx.obj
................\.....\CtrlListDatabase.obj
................\.....\CtrlListDatabase.ilk
................\.....\EditInfoDlg.obj
................\.....\CtrlListDatabaseDlg.obj
................\.....\ADODatabase.obj
................\CtrlListDatabase.plg
................\StdAfx.h
................\ADODatabase.h
................\test.mdb
................\EditInfoDlg.h
................\EditInfoDlg.cpp
................\CtrlListDatabase.dsp
................\Resource.h
................\CtrlListDatabase.aps
................\CtrlListDatabase.rc
................\CtrlListDatabaseDlg.h
................\CtrlListDatabaseDlg.cpp
................\res
................\Debug
CtrlListDatabase