EmpList.h
上传用户:jimmy1212
上传日期:2020-11-02
资源大小:40k
文件大小:1k
- #if !defined(AFX_EMPLIST_H__1DBFF94F_6136_4E92_81BC_8678020A1459__INCLUDED_)
- #define AFX_EMPLIST_H__1DBFF94F_6136_4E92_81BC_8678020A1459__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // EmpList.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CEmpList DAO recordset
- class CEmpList : public CDaoRecordset
- {
- public:
- CEmpList(CDaoDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(CEmpList)
- // Field/Param Data
- //{{AFX_FIELD(CEmpList, CDaoRecordset)
- CString m_FirstName;
- CString m_LastName;
- CString m_DeptName;
- short m_DeptID;
- double m_Salary;
- //}}AFX_FIELD
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEmpList)
- 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_EMPLIST_H__1DBFF94F_6136_4E92_81BC_8678020A1459__INCLUDED_)