daosnapset.h

来自「《VC++ 编程技巧与示例 .rar》各个示例代码绝对可用」· C头文件 代码 · 共 50 行

H
50
字号
// DaoSnapSet.h : interface of the CDaoSnapSet class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_DAOSNAPSET_H__CE72DE51_B597_11D3_9460_0000000038B2__INCLUDED_)
#define AFX_DAOSNAPSET_H__CE72DE51_B597_11D3_9460_0000000038B2__INCLUDED_

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

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

// Field/Param Data
	//{{AFX_FIELD(CDaoSnapSet, CDaoRecordset)
	CString	m_CourseID;
	CString	m_SectionNo;
	CString	m_InstructorID;
	CString	m_RoomNo;
	CString	m_Schedule;
	short	m_Capacity;
	//}}AFX_FIELD

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

⌨️ 快捷键说明

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