DateBaseSet.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
源码类别:

SNMP编程

开发平台:

Visual C++

  1. // DateBaseSet.h : interface of the CDateBaseSet class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_DATEBASESET_H__FB48D6DD_DAEA_4F5A_AD58_297EEFE0CCA8__INCLUDED_)
  5. #define AFX_DATEBASESET_H__FB48D6DD_DAEA_4F5A_AD58_297EEFE0CCA8__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CDateBaseSet : public CRecordset
  10. {
  11. public:
  12. long GetMaxID();
  13. CDateBaseSet(CDatabase* pDatabase = NULL);
  14. DECLARE_DYNAMIC(CDateBaseSet)
  15. // Field/Param Data
  16. //{{AFX_FIELD(CDateBaseSet, CRecordset)
  17. long m_AddressID;
  18. CString m_First_Name;
  19. CString m_Last_Name;
  20. CString m_Address;
  21. CString m_City_county;
  22. CString m_Province;
  23. CString m_Zip;
  24. CString m_Country;
  25. CString m_E_mail;
  26. CString m_HomePhone;
  27. CString m_WorkPhone;
  28. CString m_Fax;
  29. COleDateTime m_Birthday;
  30. BOOL m_PostalCard;
  31. CString m_SpouseName;
  32. CString m_Notes;
  33. CLongBinary m_column1;
  34. //}}AFX_FIELD
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CDateBaseSet)
  38. public:
  39. virtual CString GetDefaultConnect(); // Default connection string
  40. virtual CString GetDefaultSQL();  // default SQL for Recordset
  41. virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. #ifdef _DEBUG
  45. virtual void AssertValid() const;
  46. virtual void Dump(CDumpContext& dc) const;
  47. #endif
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_DATEBASESET_H__FB48D6DD_DAEA_4F5A_AD58_297EEFE0CCA8__INCLUDED_)