allset.h

来自「可以给学VC和数据库编程的朋友做个范例。在做之前也参看了不少同类型的管理系统」· C头文件 代码 · 共 72 行

H
72
字号
#if !defined(AFX_ALLSET_H__77DAC3BB_EB28_40AE_90D4_DE06E52F3BD4__INCLUDED_)
#define AFX_ALLSET_H__77DAC3BB_EB28_40AE_90D4_DE06E52F3BD4__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CAllSet recordset

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

// Field/Param Data
	//{{AFX_FIELD(CAllSet, CRecordset)
	CString	m_stuid;
	int		m_score1;
	int		m_score2;
	int		m_score3;
	int		m_score4;
	float	m_ave;
	CString	m_stuid2;
	int		m_year;
	CString	m_reg;
	CString	m_native;
	CString	m_type;
	CString	m_birth;
	CString	m_class;
	CString	m_stuid3;
	CString	m_name;
	CString	m_sex;
	CString	m_profcode;
	CString	m_address;
	CString	m_stuid4;
	float	m_credit;
	CString	m_lesson1;
	CString	m_lesson2;
	CString	m_lesson3;
	CString	m_lesson4;
	int		m_score5;
	int		m_score6;
	int		m_score7;
	int		m_score8;
	//}}AFX_FIELD


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

⌨️ 快捷键说明

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