ClassSet.h
资源名称:school.rar [点击查看]
上传用户:rs600066
上传日期:2017-10-16
资源大小:4788k
文件大小:1k
源码类别:
数据库系统
开发平台:
Visual C++
- #if !defined(AFX_CLASSSET_H__9311B26E_A88E_4AA3_B531_3DC480CA7A68__INCLUDED_)
- #define AFX_CLASSSET_H__9311B26E_A88E_4AA3_B531_3DC480CA7A68__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ClassSet.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CClassSet recordset
- class CClassSet : public CRecordset
- {
- public:
- CClassSet(CDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(CClassSet)
- // Field/Param Data
- //{{AFX_FIELD(CClassSet, CRecordset)
- CString m_code;
- CString m_name;
- CString m_department;
- CString m_major;
- CString m_techer;
- CString m_brief;
- //}}AFX_FIELD
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CClassSet)
- public:
- virtual CString GetDefaultConnect(); // Default connection string
- virtual CString GetDefaultSQL(); // Default SQL for Recordset
- virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
- //}}AFX_VIRTUAL
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CLASSSET_H__9311B26E_A88E_4AA3_B531_3DC480CA7A68__INCLUDED_)