home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / tutorial / enroll / step4 / coursset.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  804b  |  35 lines

  1. // coursset.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CCourseSet recordset
  6.  
  7. class CCourseSet : public CRecordset
  8. {
  9. public:
  10.     CCourseSet(CDatabase* pDatabase = NULL);
  11.     DECLARE_DYNAMIC(CCourseSet)
  12.  
  13. // Field/Param Data
  14.     //{{AFX_FIELD(CCourseSet, CRecordset)
  15.     CString m_CourseID;
  16.     CString m_CourseTitle;
  17.     int     m_Hours;
  18.     //}}AFX_FIELD
  19.  
  20.  
  21. // Overrides
  22.     // ClassWizard generated virtual function overrides
  23.     //{{AFX_VIRTUAL(CCourseSet)
  24.     public:
  25.     virtual CString GetDefaultSQL();    // Default SQL for Recordset
  26.     virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  27.     //}}AFX_VIRTUAL
  28.  
  29. // Implementation
  30. #ifdef _DEBUG
  31.     virtual void AssertValid() const;
  32.     virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. };
  35.