student.h

来自「课程设计的简单Access学生数据库系统」· C头文件 代码 · 共 52 行

H
52
字号
// Student.h: interface for the Student class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUDENT_H__A2B3AC07_1190_41FA_A852_924B398C86C8__INCLUDED_)
#define AFX_STUDENT_H__A2B3AC07_1190_41FA_A852_924B398C86C8__INCLUDED_

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

//##ModelId=40A481F300FA
class Student  
{
public:
	//##ModelId=40A481F30109
	Student(int id, CString name, bool sex, COleDateTime birthday,  long classid, long num, CString email, CString remark);
	//##ModelId=40A481F3011D
	void Set(int id, CString name, bool sex, COleDateTime birthday,  long classid, long num, CString email, CString remark);
	//##ModelId=40A481F3013B
	long ID;
	//##ModelId=40A481F30148
	CString Name;
	//##ModelId=40A481F30157
	long ClassID;
	//##ModelId=40A481F30159
	COleDateTime Birthday;
	//##ModelId=40A481F30167
	bool Sex;
	//##ModelId=40A481F30177
	CString Remark;
	//##ModelId=40A481F30178
	long Num;
	//##ModelId=40A481F30186
	CString EMail;
	//##ModelId=40A481F30187
	void Load(CDaoRecordset *RS);
	//##ModelId=40A481F30197
	void Update(CDaoRecordset *RS);
	//##ModelId=40A481F301A5
	void AddNew(CDaoRecordset *RS);
	//##ModelId=40A481F301A7
	void Delete(CDaoRecordset *RS);
	//##ModelId=40A481F301B6
	Student();
	//##ModelId=40A481F301B7
	virtual ~Student();

};

#endif // !defined(AFX_STUDENT_H__A2B3AC07_1190_41FA_A852_924B398C86C8__INCLUDED_)

⌨️ 快捷键说明

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