📄 brecordset1.cpp
字号:
// BRecordset1.cpp : implementation file
//
#include "stdafx.h"
#include "lhwy.h"
#include "BRecordset1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// BRecordset
IMPLEMENT_DYNAMIC(BRecordset, CDaoRecordset)
BRecordset::BRecordset(CDaoDatabase* pdb)
: CDaoRecordset(pdb)
{
//{{AFX_FIELD_INIT(BRecordset)
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString BRecordset::GetDefaultDBName()
{
return _T("F:\Visual C++ 6.0数据库系统开发实例导航\VC网络与数据库编程百例\第7章\实例63-学生成绩管理\LHWY.MDB");
}
CString BRecordset::GetDefaultSQL()
{
return _T("");
}
void BRecordset::DoFieldExchange(CDaoFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(BRecordset)
pFX->SetFieldType(CDaoFieldExchange::outputColumn);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// BRecordset diagnostics
#ifdef _DEBUG
void BRecordset::AssertValid() const
{
CDaoRecordset::AssertValid();
}
void BRecordset::Dump(CDumpContext& dc) const
{
CDaoRecordset::Dump(dc);
}
#endif //_DEBUG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -