?? otherset.cpp
字號:
// OtherSet.cpp : implementation file
//
#include "stdafx.h"
#include "人員管理系統(tǒng).h"
#include "OtherSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COtherSet
IMPLEMENT_DYNAMIC(COtherSet, CRecordset)
COtherSet::COtherSet(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(COtherSet)
m_ID = 0;
m_column1 = _T("");
m_nFields = 3;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString COtherSet::GetDefaultConnect()
{
return _T("ODBC;DSN=人員管理系統(tǒng)");
}
CString COtherSet::GetDefaultSQL()
{
return _T("[配置屬性]");
}
void COtherSet::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(COtherSet)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Long(pFX, _T("[ID]"), m_ID);
RFX_Text(pFX, _T("[登陸密碼]"), m_column1);
RFX_Date(pFX, _T("[上資結(jié)算日期]"), m_column2);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// COtherSet diagnostics
#ifdef _DEBUG
void COtherSet::AssertValid() const
{
CRecordset::AssertValid();
}
void COtherSet::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -