home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / STDREG.PAK / SECTSET.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.3 KB  |  48 lines

  1. // sectset.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 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. /////////////////////////////////////////////////////////////////////////////
  14. // CSectionSet recordset
  15.  
  16. class CSectionSet : public CRecordset
  17. {
  18. public:
  19.     CSectionSet(CDatabase* pDatabase);
  20.     DECLARE_DYNAMIC(CSectionSet)
  21.  
  22. // Field/Param Data
  23.     //{{AFX_FIELD(CSectionSet, CRecordset)
  24.     CString m_CourseID;
  25.     CString m_SectionNo;
  26.     CString m_InstructorID;
  27.     CString m_RoomNo;
  28.     CString m_Schedule;
  29.     int     m_Capacity;
  30.     //}}AFX_FIELD
  31.  
  32.  
  33. // Overrides
  34.     // ClassWizard generate virtual function overrides
  35.     //{{AFX_VIRTUAL(CSectionSet)
  36.     public:
  37.     virtual CString GetDefaultConnect();    // Default connection string
  38.     virtual CString GetDefaultSQL();    // Default SQL for Recordset
  39.     virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  40.     //}}AFX_VIRTUAL
  41.  
  42. // Implementation
  43. #ifdef _DEBUG
  44.     virtual void AssertValid() const;
  45.     virtual void Dump(CDumpContext& dc) const;
  46. #endif
  47. };
  48.