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

书籍源码

开发平台:

Visual C++

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