?? peopleset.cpp
字號:
// Peopleset.cpp : implementation file
//
#include "stdafx.h"
#include "cehuangyi.h"
#include "Peopleset.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPeopleset
IMPLEMENT_DYNAMIC(CPeopleset, CRecordset)
CPeopleset::CPeopleset(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CPeopleset)
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CPeopleset::GetDefaultConnect()
{
return _T("ODBC;DSN=測謊儀");
}
CString CPeopleset::GetDefaultSQL()
{
return _T("[測試人]");
}
void CPeopleset::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CPeopleset)
pFX->SetFieldType(CFieldExchange::outputColumn);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CPeopleset diagnostics
#ifdef _DEBUG
void CPeopleset::AssertValid() const
{
CRecordset::AssertValid();
}
void CPeopleset::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -