testset.h
来自「数据库操作--ODBC篇」· C头文件 代码 · 共 48 行
H
48 行
// testSet.h : interface of the CStudentSet class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TESTSET_H__86CF88B0_D64D_4B53_8B7B_102767F069FB__INCLUDED_)
#define AFX_TESTSET_H__86CF88B0_D64D_4B53_8B7B_102767F069FB__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_no;
CString m_name;
CString m_age;
CString m_sex;
//}}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_TESTSET_H__86CF88B0_D64D_4B53_8B7B_102767F069FB__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?