-
大小: 7.54MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-09-25
- 语言: C/C++
- 标签:
资源简介
经典ADO基础技术,包括链接数据库,打开表,修改表等详细操作
代码片段和文件信息
// DBConnect.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “DBConnect.h“
#include “DBConnectDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDBConnectApp
BEGIN_MESSAGE_MAP(CDBConnectApp CWinApp)
//{{AFX_MSG_MAP(CDBConnectApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CDBConnectApp construction
CDBConnectApp::CDBConnectApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CDBConnectApp object
CDBConnectApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CDBConnectApp initialization
BOOL CDBConnectApp::InitInstance()
{
AfxEnableControlContainer();
AfxOleInit();
// 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
CDBConnectDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 21464 2010-10-02 21:00 DBConnect\DBConnect.aps
文件 1654 2010-10-02 21:00 DBConnect\DBConnect.clw
文件 2129 2010-09-29 09:14 DBConnect\DBConnect.cpp
文件 4213 2010-09-28 22:19 DBConnect\DBConnect.dsp
文件 526 2010-09-28 22:19 DBConnect\DBConnect.dsw
文件 1392 2010-09-29 09:14 DBConnect\DBConnect.h
文件 107520 2010-10-02 21:01 DBConnect\DBConnect.ncb
文件 49664 2010-10-02 21:00 DBConnect\DBConnect.opt
文件 252 2010-10-02 21:00 DBConnect\DBConnect.plg
文件 6000 2010-09-29 15:16 DBConnect\DBConnect.rc
文件 883 2010-10-02 12:57 DBConnect\DBConnect.sln
..A..H. 7168 2010-10-02 12:57 DBConnect\DBConnect.suo
文件 7340 2010-10-02 12:57 DBConnect\DBConnect.vcproj
文件 1409 2010-10-02 15:05 DBConnect\DBConnect.vcproj.LBWIN7.Administrator.user
文件 10190 2010-10-02 12:59 DBConnect\DBConnectDlg.cpp
文件 1645 2010-09-29 19:12 DBConnect\DBConnectDlg.h
文件 6046 2010-10-02 12:59 DBConnect\Debug\BuildLog.htm
文件 61952 2010-10-02 12:59 DBConnect\Debug\DBConnect.exe
文件 920 2010-10-02 12:58 DBConnect\Debug\DBConnect.exe.em
文件 984 2010-10-02 12:58 DBConnect\Debug\DBConnect.exe.em
文件 861 2010-10-02 12:59 DBConnect\Debug\DBConnect.exe.intermediate.manifest
文件 490592 2010-10-02 12:59 DBConnect\Debug\DBConnect.ilk
文件 25175 2010-10-02 12:58 DBConnect\Debug\DBConnect.obj
文件 27852800 2010-10-02 12:58 DBConnect\Debug\DBConnect.pch
文件 3591168 2010-10-02 12:59 DBConnect\Debug\DBConnect.pdb
文件 2980 2010-09-29 15:34 DBConnect\Debug\DBConnect.res
文件 144510 2010-10-02 12:59 DBConnect\Debug\DBConnectDlg.obj
文件 100499 2009-07-14 09:15 DBConnect\Debug\msado15.tlh
文件 77079 2009-07-14 09:15 DBConnect\Debug\msado15.tli
文件 65 2010-10-02 12:59 DBConnect\Debug\mt.dep
............此处省略19个文件信息
- 上一篇:泡泡龙源码 C++
- 下一篇:计算机图形学OPENGL 动画代码
评论
共有 条评论