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

  1. // coursset.h : header file
  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. /////////////////////////////////////////////////////////////////////////////
  14. // CCourseSet recordset
  15.  
  16. class CCourseSet : public CRecordset
  17. {
  18. public:
  19.     CCourseSet(CDatabase* pDatabase = NULL);
  20.  
  21. // Field/Param Data
  22.     //{{AFX_FIELD(CCourseSet, CRecordset)
  23.     CString m_CourseID;
  24.     CString m_CourseTitle;
  25.     int     m_Hours;
  26.     //}}AFX_FIELD
  27.  
  28.  
  29. // Implementation
  30. protected:
  31.     virtual CString GetDefaultConnect();    // Default connection string
  32.     virtual CString GetDefaultSQL();    // Default SQL for Recordset
  33.     virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  34.     DECLARE_DYNAMIC(CCourseSet)
  35. };
  36.