MyRecordset.h
上传用户:cuijiu615
上传日期:2007-03-28
资源大小:45k
文件大小:1k
源码类别:

家庭/个人应用

开发平台:

Visual C++

  1. #if !defined(AFX_MYRECORDSET_H__30052880_6239_11D5_A3D7_DF20AAC61475__INCLUDED_)
  2. #define AFX_MYRECORDSET_H__30052880_6239_11D5_A3D7_DF20AAC61475__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MyRecordset.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMyRecordset recordset
  10. class CMyRecordset : public CRecordset
  11. {
  12. public:
  13. CMyRecordset(CDatabase* pDatabase = NULL);
  14. DECLARE_DYNAMIC(CMyRecordset)
  15. // Field/Param Data
  16. //{{AFX_FIELD(CMyRecordset, CRecordset)
  17. CString m_name;
  18. int m_age;
  19. CString m_sex;
  20. CString m_telphone;
  21. CString m_pager;
  22. CString m_mobile;
  23. CString m_email;
  24. CString m_company;
  25. CString m_address;
  26. CString m_position;
  27. CString m_friendship;
  28. CString m_introduction;
  29. //}}AFX_FIELD
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CMyRecordset)
  33. public:
  34. virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. #ifdef _DEBUG
  38. virtual void AssertValid() const;
  39. virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41. };
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_MYRECORDSET_H__30052880_6239_11D5_A3D7_DF20AAC61475__INCLUDED_)