home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / daoenrol / sectset.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.2 KB  |  45 lines

  1. // sectset.h : interface of the CsectionSet class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. class CsectionSet : public CDaoRecordset
  14. {
  15. public:
  16.     CsectionSet(CDaoDatabase* pDatabase = NULL);
  17.     DECLARE_DYNAMIC(CsectionSet)
  18.  
  19. // Field/Param Data
  20.     //{{AFX_FIELD(CsectionSet, CDaoRecordset)
  21.     CString m_CourseID;
  22.     CString m_SectionNo;
  23.     CString m_InstructorID;
  24.     CString m_RoomNo;
  25.     CString m_Schedule;
  26.     short   m_Capacity;
  27.     //}}AFX_FIELD
  28.     CString m_strCourseIDParam;
  29.  
  30. // Overrides
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CsectionSet)
  33.     public:
  34.     virtual CString GetDefaultSQL();    // default SQL for Recordset
  35.     virtual void DoFieldExchange(CDaoFieldExchange* pFX);   // RFX support
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. #ifdef _DEBUG
  40.     virtual void AssertValid() const;
  41.     virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43.  
  44. };
  45.