资源简介
在MFC下,采用ADO技术访问access数据库,做的一个很小的学生成绩管理系统。个人觉得对于初学数据库的人来说,是一个很不错的资源。编译时保证头文件stdafx.h中“#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","adoEOF")”路径正确。本工程具有VC6.0和VS2008两个版本。

代码片段和文件信息
// db003.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “db003.h“
#include “db003Dlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDb003App
BEGIN_MESSAGE_MAP(CDb003App CWinApp)
//{{AFX_MSG_MAP(CDb003App)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDb003App construction
CDb003App::CDb003App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CDb003App object
CDb003App theApp;
/////////////////////////////////////////////////////////////////////////////
// CDb003App initialization
BOOL CDb003App::InitInstance()
{
// AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
//CoInitialize(NULL);
AfxOleInit();
CDb003Dlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 36828 2012-03-20 17:17 db003\db003.aps
文件 1870 2012-08-02 13:16 db003\db003.clw
文件 2092 2012-08-01 17:22 db003\db003.cpp
文件 4145 2012-03-19 17:47 db003\db003.dsp
文件 535 2012-03-19 15:28 db003\db003.dsw
文件 1313 2012-03-19 15:28 db003\db003.h
文件 156672 2012-08-02 13:19 db003\db003.ncb
文件 50688 2012-08-02 13:19 db003\db003.opt
文件 1789 2012-08-02 13:17 db003\db003.plg
文件 6487 2012-03-20 17:17 db003\db003.rc
文件 875 2012-08-01 16:56 db003\db003.sln
..A..H. 9216 2012-08-01 17:13 db003\db003.suo
文件 7295 2012-08-01 16:56 db003\db003.vcproj
文件 1419 2012-08-01 17:13 db003\db003.vcproj.thinkpad-PC.thinkpad.user
文件 11071 2012-08-01 17:12 db003\db003Dlg.cpp
文件 1874 2012-03-20 17:47 db003\db003Dlg.h
文件 4882 2012-08-01 17:12 db003\Debug\BuildLog.htm
文件 3662848 2012-08-02 13:17 db003\Debug\db003.bsc
文件 135232 2012-08-02 13:17 db003\Debug\db003.exe
文件 920 2012-08-01 17:11 db003\Debug\db003.exe.em
文件 984 2012-08-01 17:11 db003\Debug\db003.exe.em
文件 861 2012-08-01 17:12 db003\Debug\db003.exe.intermediate.manifest
文件 276892 2012-08-02 13:17 db003\Debug\db003.ilk
文件 18564 2012-08-02 13:17 db003\Debug\db003.obj
文件 9479544 2012-08-02 13:17 db003\Debug\db003.pch
文件 467968 2012-08-02 13:17 db003\Debug\db003.pdb
文件 3200 2012-08-01 17:26 db003\Debug\db003.res
文件 0 2012-08-02 13:17 db003\Debug\db003.sbr
文件 113626 2012-08-02 13:17 db003\Debug\db003Dlg.obj
文件 0 2012-08-02 13:17 db003\Debug\db003Dlg.sbr
............此处省略25个文件信息
相关资源
- Adobe Acrobat X Pro汉化CIDFont字体包
- 基础qt数据库读取和显示
- Qt查询SQLite数据库
- 宠物管理系统课程设计(源码+数据库
- VC操作SQLSERVER数据库
- c 操作sqlite数据库.cpp
- 简单职工管理系统(控制台源码+txt数
- 自洽SU3手性夸克-孤子模型中单重子的
- MFCaccess.rar
- 手性摄动理论中双迷人重子的辐射衰
- 自协变重子手性扰动理论中自旋1/2双
- mysql+dev c++实现订单管理系统
- MFC对ACCESS数据库的增加、删除、查找
- 串口通信数据库:基于RFID的电子票证
- Visual C++网络与数据库编程百例源代码
- C++MFC数据库职工信息管理系统,实现
- c#图书管理系统+详细数据库设计文档
- 基于Visual C++/Access实现的学生宿舍管理
- 数据库课程设计 - 汽车租借信息系统
- MFC宿舍管理系统C++含access数据库
- 基于C++和数据库SQL server开发的商品销
- 完整的C/C++时序的B+树数据库系统实现
- c++超市管理系统 数据库作业
- VC++环境下如何连接SQL数据库
- OPC Data Access 3.0 Source Code
- OPC Data Access 3.00 Source Code
- 图书管理系统及数据库
- 医院管理系统数据库
- 数据库系统概论自己版.xmind
- vc++6.0 与access管理系统
评论
共有 条评论