📄 xx.cpp
字号:
// Xx.cpp : implementation file
//
#include "stdafx.h"
#include "DATABASE.h"
#include "Xx.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CXx
IMPLEMENT_DYNAMIC(CXx, CRecordset)
CXx::CXx(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CXx)
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CXx::GetDefaultConnect()
{
return _T("ODBC;DSN=我的数据库0");
}
CString CXx::GetDefaultSQL()
{
return _T("[xx]");
}
void CXx::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CXx)
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CXx diagnostics
#ifdef _DEBUG
void CXx::AssertValid() const
{
CRecordset::AssertValid();
}
void CXx::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -