studentinformation.h

来自「Visual C++数据库编程源代码 《Visual C++程序员成长攻略》一」· C头文件 代码 · 共 50 行

H
50
字号
#if !defined(AFX_STUDENTINFORMATION_H__951DD958_85C3_4AF6_B7B3_460E5D8DDD72__INCLUDED_)
#define AFX_STUDENTINFORMATION_H__951DD958_85C3_4AF6_B7B3_460E5D8DDD72__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StudentInformation.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStudentInformation DAO recordset

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

// Field/Param Data
	//{{AFX_FIELD(CStudentInformation, CDaoRecordset)
	CString m_name;
	CString m_englishscore;
    CString m_mathscore;
	CString m_chinesescore;
    CString m_historyscore;
    CString m_politicalscore;
	CString m_averagescore;
	//}}AFX_FIELD

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStudentInformation)
	public:
	virtual CString GetDefaultDBName();		// Default database name
	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_STUDENTINFORMATION_H__951DD958_85C3_4AF6_B7B3_460E5D8DDD72__INCLUDED_)

⌨️ 快捷键说明

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