⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myoledbdoc.cpp

📁 拥有检测数据库是否连接成功的功能,以及第一个记录,前一个记录,下一个记录,以及最后一个的记录的检测以及显示功能.适合初学者.
💻 CPP
字号:
// MyOleDBDoc.cpp : implementation of the CMyOleDBDoc class
//

#include "stdafx.h"
#include "MyOleDB.h"

#include "MyOleDBSet.h"
#include "MyOleDBDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyOleDBDoc

IMPLEMENT_DYNCREATE(CMyOleDBDoc, CDocument)

BEGIN_MESSAGE_MAP(CMyOleDBDoc, CDocument)
	//{{AFX_MSG_MAP(CMyOleDBDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyOleDBDoc construction/destruction

CMyOleDBDoc::CMyOleDBDoc()
{
	// TODO: add one-time construction code here

}

CMyOleDBDoc::~CMyOleDBDoc()
{
}

BOOL CMyOleDBDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CMyOleDBDoc diagnostics

#ifdef _DEBUG
void CMyOleDBDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CMyOleDBDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMyOleDBDoc commands

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -