ODBCDepartmentSet.h
上传用户:benben_wyd
上传日期:2010-02-26
资源大小:1229k
文件大小:1k
- // ODBCDepartmentSet.h : interface of the CODBCDepartmentSet class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ODBCDEPARTMENTSET_H__2A271D2E_38DD_11D2_9949_87AD526EFE4A__INCLUDED_)
- #define AFX_ODBCDEPARTMENTSET_H__2A271D2E_38DD_11D2_9949_87AD526EFE4A__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CODBCDepartmentSet : public CRecordset
- {
- public:
- CODBCDepartmentSet(CDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(CODBCDepartmentSet)
- // Field/Param Data
- //{{AFX_FIELD(CODBCDepartmentSet, CRecordset)
- CString m_DepartmentCode;
- CString m_DepartmentName;
- //}}AFX_FIELD
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CODBCDepartmentSet)
- 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_ODBCDEPARTMENTSET_H__2A271D2E_38DD_11D2_9949_87AD526EFE4A__INCLUDED_)