myrecordset.h
上传用户:yhxbjx
上传日期:2018-11-07
资源大小:7142k
文件大小:1k
- #if !defined(AFX_MYRECORDSET_H__9684C405_B63D_4650_910F_6D35FD23CE75__INCLUDED_)
- #define AFX_MYRECORDSET_H__9684C405_B63D_4650_910F_6D35FD23CE75__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // myrecordset.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // myrecordset recordset
- #include "afxdb.h"
- class myrecordset : public CRecordset
- {
- public:
-
- myrecordset(CDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(myrecordset)
- // Field/Param Data
- //{{AFX_FIELD(myrecordset, CRecordset)
- CString m_ID;
- CString m_name;
- CString m_workplace;
- CString m_address;
- CString m_fixphone;
- CString m_phone;
- //}}AFX_FIELD
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(myrecordset)
- public:
- virtual CString GetDefaultConnect(); // Default connection string
- virtual CString GetDefaultSQL(); // Default SQL for Recordset
- virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
- //}}AFX_VIRTUAL
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYRECORDSET_H__9684C405_B63D_4650_910F_6D35FD23CE75__INCLUDED_)