studaoset.h

来自「Visual c++.程序设计培训教程」· C头文件 代码 · 共 49 行

H
49
字号
// StuDAOSet.h : interface of the CStuDAOSet class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUDAOSET_H__472533EF_2C4E_11D6_9C7C_5254AB31B8A3__INCLUDED_)
#define AFX_STUDAOSET_H__472533EF_2C4E_11D6_9C7C_5254AB31B8A3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CStuDAOSet : public CDaoRecordset
{
public:
	CStuDAOSet(CDaoDatabase* pDatabase = NULL);
	DECLARE_DYNAMIC(CStuDAOSet)

// Field/Param Data
	//{{AFX_FIELD(CStuDAOSet, CDaoRecordset)
	long	m_StudentID;
	CString	m_Name;
	long	m_Age;
	CString	m_Address;
	long	m_ClassID;
	//}}AFX_FIELD

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStuDAOSet)
	public:
	virtual CString GetDefaultDBName();		// REVIEW:  Get a comment here
	virtual CString GetDefaultSQL(); 	// default SQL for Recordset
	virtual void DoFieldExchange(CDaoFieldExchange* 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_STUDAOSET_H__472533EF_2C4E_11D6_9C7C_5254AB31B8A3__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?