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

书籍源码

开发平台:

Visual C++

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