福利彩票号码统计Set.cpp
资源名称:福利彩票号码统计.rar [点击查看]
上传用户:dinghaosmt
上传日期:2013-03-22
资源大小:110k
文件大小:2k
源码类别:
射击游戏
开发平台:
Visual C++
- // 福利彩票号码统计Set.cpp : implementation of the CMySet class
- //
- #include "stdafx.h"
- #include "福利彩票号码统计.h"
- #include "福利彩票号码统计Set.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CMySet implementation
- IMPLEMENT_DYNAMIC(CMySet, CRecordset)
- CMySet::CMySet(CDatabase* pdb)
- : CRecordset(pdb)
- {
- //{{AFX_FIELD_INIT(CMySet)
- m_column1 = 0;
- m_column2 = 0;
- m_column3 = 0;
- m_column4 = 0;
- m_column5 = 0;
- m_column6 = 0;
- m_column7 = 0;
- m_column8 = 0;
- m_column9 = 0;
- m_nFields = 9;
- //}}AFX_FIELD_INIT
- m_nDefaultType = snapshot;
- }
- CString CMySet::GetDefaultConnect()
- {
- return _T("ODBC;DSN=MS Access Database");
- }
- CString CMySet::GetDefaultSQL()
- {
- return _T("[福利彩票]");
- }
- void CMySet::DoFieldExchange(CFieldExchange* pFX)
- {
- //{{AFX_FIELD_MAP(CMySet)
- pFX->SetFieldType(CFieldExchange::outputColumn);
- RFX_Long(pFX, _T("[号码一]"), m_column1);
- RFX_Long(pFX, _T("[号码二]"), m_column2);
- RFX_Long(pFX, _T("[号码三]"), m_column3);
- RFX_Long(pFX, _T("[号码四]"), m_column4);
- RFX_Long(pFX, _T("[号码五]"), m_column5);
- RFX_Long(pFX, _T("[号码六]"), m_column6);
- RFX_Long(pFX, _T("[号码七]"), m_column7);
- RFX_Long(pFX, _T("[特殊号]"), m_column8);
- RFX_Long(pFX, _T("[期号]"), m_column9);
- //}}AFX_FIELD_MAP
- }
- /////////////////////////////////////////////////////////////////////////////
- // CMySet diagnostics
- #ifdef _DEBUG
- void CMySet::AssertValid() const
- {
- CRecordset::AssertValid();
- }
- void CMySet::Dump(CDumpContext& dc) const
- {
- CRecordset::Dump(dc);
- }
- #endif //_DEBUG