studentset.h

来自「VC程序设计与实例中与数据库编程有关的vc++源代码」· C头文件 代码 · 共 48 行

H
48
字号
// StudentSet.h : interface of the CStudentSet class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUDENTSET_H__DC29FA4A_267B_4029_B323_94B6DF9353D4__INCLUDED_)
#define AFX_STUDENTSET_H__DC29FA4A_267B_4029_B323_94B6DF9353D4__INCLUDED_

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

class CStudentSet : public CRecordset
{
public:
	CStudentSet(CDatabase* pDatabase = NULL);
	DECLARE_DYNAMIC(CStudentSet)

// Field/Param Data
	//{{AFX_FIELD(CStudentSet, CRecordset)
	CString	m_AGE;
	CString	m_SNAME;
	CString	m_SEX;
	CString	m_SNO;
	//}}AFX_FIELD

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStudentSet)
	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_STUDENTSET_H__DC29FA4A_267B_4029_B323_94B6DF9353D4__INCLUDED_)

⌨️ 快捷键说明

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