登录
首页 » DOS » CtrlListDatabase

CtrlListDatabase

于 2011-05-31 发布 文件大小:2463KB
0 206
下载积分: 1 下载次数: 28

代码说明:

  本文以“学生信息管理”系统雏形为例子,介绍在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
................\ADODatabase.cpp,2102,2011-05-21
................\ADODatabase.h,729,2011-05-20
................\CtrlListDatabase.aps,36744,2011-05-21
................\CtrlListDatabase.clw,2156,2011-05-21
................\CtrlListDatabase.cpp,2203,2011-05-20
................\CtrlListDatabase.dsp,4604,2011-05-20
................\CtrlListDatabase.dsw,555,2011-05-20
................\CtrlListDatabase.h,1434,2011-05-20
................\CtrlListDatabase.ncb,140288,2011-05-21
................\CtrlListDatabase.opt,54784,2011-05-21
................\CtrlListDatabase.plg,1214,2011-05-21
................\CtrlListDatabase.rc,6779,2011-05-21
................\CtrlListDatabaseDlg.cpp,6432,2011-05-21
................\CtrlListDatabaseDlg.h,1603,2011-05-21
................\Debug
................\.....\ADODatabase.obj,66620,2011-05-21
................\.....\CtrlListDatabase.exe,131145,2011-05-21
................\.....\CtrlListDatabase.ilk,363772,2011-05-21
................\.....\CtrlListDatabase.obj,14816,2011-05-21
................\.....\CtrlListDatabase.pch,7767096,2011-05-20
................\.....\CtrlListDatabase.pdb,615424,2011-05-21
................\.....\CtrlListDatabase.res,3288,2011-05-21
................\.....\CtrlListDatabaseDlg.obj,52558,2011-05-21
................\.....\EditInfoDlg.obj,12955,2011-05-20
................\.....\msado15.tlh,90691,2006-12-26
................\.....\msado15.tli,76650,2006-12-26
................\.....\StdAfx.obj,133309,2011-05-20
................\.....\vc60.idb,246784,2011-05-21
................\.....\vc60.pdb,561152,2011-05-21
................\EditInfoDlg.cpp,1194,2011-05-20
................\EditInfoDlg.h,1286,2011-05-20
................\ReadMe.txt,3759,2011-05-20
................\res

................\...\CtrlListDatabase.rc2,408,2011-05-20
................\Resource.h,1061,2011-05-21
................\StdAfx.cpp,218,2011-05-20
................\StdAfx.h,1153,2011-05-20
................\test.mdb,155648,2011-05-21

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Library-System_VB
    VB语言实现 图书馆管理系统 附有课程设计说明(VB language, library management system, a description included)
    2011-06-29 17:15:51下载
    积分:1
  • ex10
    定义一个CStudent类,在该类定义中包括:一个数据成员score(分数)及两个静态数据成员total(总分)和学生人数count:成员函数STC(float s)设置分数,求总分,累计学生人数:静态成员函数Sum返回总分;静态成员函数Average求平均值。在main函数中,输入某班同学的成绩,并调用上述函数求全班学生的总分和平均分。(Define a CStudent class in the class definition, including: a data member score (Score) and two static data members total (total score) and the number of students count: the member function STC (float s) set score, find the total score, the cumulative Number of students: the static member function Sum return score static member function Average average. In the main function, enter the results of a class of students seeking the total score and the average score of students in the class and call the above function.)
    2012-12-04 21:00:34下载
    积分:1
  • SalarySystem
    这是一个开发学校教职员工的工资管理系统,软件的实现,有利于提高管理的效益。(It is describle the methord of making a salary system for managing the teacher.)
    2011-10-12 10:59:41下载
    积分:1
  • stuExtJs_servlet
    这是一个 学生信息管理设置系统。 使用了extjs和servlet,该系统拥有的功能是对学生信息进行增加、修改、删除、查询功能。(This is the setting of a student information management system. Extjs and servlet, the system has the function of student information to add, modify, delete, and query functions.)
    2012-10-23 19:21:49下载
    积分:1
  • xsxxglxt
    非常基础的学生信息管理系统,直接在命令行上显示,值得初学者一看。(a fundamental source code)
    2013-03-20 22:29:20下载
    积分:1
  • ttxx_25175cjgl12
    成绩查询管理系统 v1.2 (achievements inquiries management system v1.2)
    2005-02-08 21:27:57下载
    积分:1
  • 228-linshaoquan
    VFP的简单设计,班级学生管理系统,好看又好用(VFP simple design,Class management system,good and beautiful )
    2012-12-19 10:04:22下载
    积分:1
  • 基于matpower潮流计算报告
    说明:  基于matpower 的新英格兰39节点潮流计算(New England 39 bus power flow calculation based on Matpower)
    2020-10-24 17:10:01下载
    积分:1
  • system_VB
    用Visual Basic编写的简易学籍管理系统程序,包含访问数据库、数据控件使用、图片显示、多窗体编程等技术的运用,可以实现对数据库的查询、添加记录、删除记录等功能(School enrollment management system written in Visual Basic , including access to the database, data control to use, picture display, multi-form programming.It can query the database, add records, delete records along with other functions)
    2011-06-20 11:00:57下载
    积分:1
  • tableModel
    实现注册、登录、分老师账户和学生账户提供用户的成绩查询,修改等(To achieve registration, login, sub teacher and student accounts, accounts)
    2010-12-15 13:07:08下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载