CDAO.H
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:1k
源码类别:

界面编程

开发平台:

Visual C++

  1. if !defined(AFX_DAORECORDSETEMPLOYEES_H__2E19D160_4752_11D2_953B_97EA2B04013B__INCLUDED_)
  2. #define AFX_DAORECORDSETEMPLOYEES_H__2E19D160_4752_11D2_953B_97EA2B04013B__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // DaoRecordsetEmployees.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDaoRecordsetEmployees DAO recordset
  10. class CDaoRecordsetEmployees : public CDaoRecordset
  11. {
  12. public:
  13. CDaoRecordsetEmployees(CDaoDatabase* pDatabase = NULL);
  14. DECLARE_DYNAMIC(CDaoRecordsetEmployees)
  15. // Field/Param Data
  16. //{{AFX_FIELD(CDaoRecordsetEmployees, CDaoRecordset)
  17. double m_SSN;
  18. CString m_NAME;
  19. CString m_ADDRESS;
  20. CString m_TITLE;
  21. COleDateTime m_HIRE_DATE;
  22. //}}AFX_FIELD
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CDaoRecordsetEmployees)
  26. public:
  27. virtual CString GetDefaultDBName(); // Default database name
  28. virtual CString GetDefaultSQL(); // Default SQL for Recordset
  29. virtual void DoFieldExchange(CDaoFieldExchange* pFX);  // RFX support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. };
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_DAORECORDSETEMPLOYEES_H__2E19D160_4752_11D2_953B_97EA2B04013B__INCLUDED_)