ODBCDepartmentSet.h
上传用户:benben_wyd
上传日期:2010-02-26
资源大小:1229k
文件大小:1k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // ODBCDepartmentSet.h : interface of the CODBCDepartmentSet class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_ODBCDEPARTMENTSET_H__2A271D2E_38DD_11D2_9949_87AD526EFE4A__INCLUDED_)
  5. #define AFX_ODBCDEPARTMENTSET_H__2A271D2E_38DD_11D2_9949_87AD526EFE4A__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CODBCDepartmentSet : public CRecordset
  10. {
  11. public:
  12. CODBCDepartmentSet(CDatabase* pDatabase = NULL);
  13. DECLARE_DYNAMIC(CODBCDepartmentSet)
  14. // Field/Param Data
  15. //{{AFX_FIELD(CODBCDepartmentSet, CRecordset)
  16. CString m_DepartmentCode;
  17. CString m_DepartmentName;
  18. //}}AFX_FIELD
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CODBCDepartmentSet)
  22. public:
  23. virtual CString GetDefaultConnect(); // Default connection string
  24. virtual CString GetDefaultSQL();  // default SQL for Recordset
  25. virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. #ifdef _DEBUG
  29. virtual void AssertValid() const;
  30. virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32. };
  33. //{{AFX_INSERT_LOCATION}}
  34. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  35. #endif // !defined(AFX_ODBCDEPARTMENTSET_H__2A271D2E_38DD_11D2_9949_87AD526EFE4A__INCLUDED_)