?? usefulkey.cpp
字號(hào):
// Usefulkey.cpp : implementation file
//
#include "stdafx.h"
#include "bishe.h"
#include "Usefulkey.h"
#include <afxdb.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CUsefulkey
IMPLEMENT_DYNAMIC(CUsefulkey, CRecordset)
CUsefulkey::CUsefulkey(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CUsefulkey)
m_username = _T("");
m_dk = _T("");
m_cer = _T("");
m_keydate = _T("");
m_nFields = 4;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CUsefulkey::GetDefaultConnect()
{
return _T("ODBC;DSN=usefulkey");
}
CString CUsefulkey::GetDefaultSQL()
{
return _T("[usefulkey]");
}
void CUsefulkey::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CUsefulkey)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[username]"), m_username);
RFX_Text(pFX, _T("[dk]"), m_dk);
RFX_Text(pFX, _T("[cer]"), m_cer);
RFX_Text(pFX, _T("[keydate]"), m_keydate);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CUsefulkey diagnostics
#ifdef _DEBUG
void CUsefulkey::AssertValid() const
{
CRecordset::AssertValid();
}
void CUsefulkey::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -