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

书籍源码

开发平台:

Visual C++

  1. #if !defined(AFX_ODBCREPORTSET_H__FA789BA3_4121_11D2_9949_B5757778F646__INCLUDED_)
  2. #define AFX_ODBCREPORTSET_H__FA789BA3_4121_11D2_9949_B5757778F646__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ODBCReportSet.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CODBCReportSet recordset
  10. class CODBCReportSet : public CRecordset
  11. {
  12. public:
  13. CODBCReportSet(CDatabase* pDatabase = NULL);
  14. DECLARE_DYNAMIC(CODBCReportSet)
  15. // Field/Param Data
  16. //{{AFX_FIELD(CODBCReportSet, CRecordset)
  17. CString m_ClassID;
  18. CString m_Description;
  19. int m_Credits;
  20. CString m_DepartmentCode;
  21. CString m_DepartmentName;
  22. long m_InstructorID;
  23. CString m_Name;
  24. CString m_DepartmentCode2;
  25. CString m_EMAIL;
  26. CString m_Notes;
  27. long m_SectionID;
  28. CString m_ClassID2;
  29. int m_SectionNumber;
  30. BOOL m_IsLab;
  31. CString m_Term;
  32. int m_Year;
  33. CString m_Room;
  34. long m_InstructorID2;
  35. long m_LabsParentSectionID;
  36. CString m_Notes2;
  37. long m_StudentID;
  38. CString m_FirstName;
  39. CString m_MidName;
  40. CString m_LastName;
  41. CString m_Address;
  42. CString m_City;
  43. CString m_StateOrProvince;
  44. CString m_PostalCode;
  45. CString m_PhoneNumber;
  46. CString m_EMAIL2;
  47. CString m_Major;
  48. CString m_StudentSSN;
  49. long m_StudentID2;
  50. long m_SectionID2;
  51. //}}AFX_FIELD
  52. // Overrides
  53. // ClassWizard generated virtual function overrides
  54. //{{AFX_VIRTUAL(CODBCReportSet)
  55. public:
  56. virtual CString GetDefaultConnect();    // Default connection string
  57. virtual CString GetDefaultSQL();    // Default SQL for Recordset
  58. virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  59. //}}AFX_VIRTUAL
  60. // Implementation
  61. #ifdef _DEBUG
  62. virtual void AssertValid() const;
  63. virtual void Dump(CDumpContext& dc) const;
  64. #endif
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_ODBCREPORTSET_H__FA789BA3_4121_11D2_9949_B5757778F646__INCLUDED_)