CodeCtrlOdbcDlg.h
上传用户:qzzxgm
上传日期:2009-12-14
资源大小:1882k
文件大小:2k
- // CodeCtrlOdbcDlg.h : header file
- //
- #if !defined(AFX_CODECTRLODBCDLG_H__A0678B7F_7236_497E_A58D_987A326B69AC__INCLUDED_)
- #define AFX_CODECTRLODBCDLG_H__A0678B7F_7236_497E_A58D_987A326B69AC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CCodeCtrlOdbcDlg dialog
- class CCodeCtrlOdbcDlg : public CDialog
- {
- // Construction
- public:
- CCodeCtrlOdbcDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CCodeCtrlOdbcDlg)
- enum { IDD = IDD_CODECTRLODBC_DIALOG };
- int m_nID;
- CString m_strName;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCodeCtrlOdbcDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- _ConnectionPtr m_pCon; //连接对象
- _RecordsetPtr m_pRs; //记录集对象
- BOOL LoadDbSource(CString strSourceName,CString strSourceDb, CString strDescription);
- // Generated message map functions
- //{{AFX_MSG(CCodeCtrlOdbcDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CODECTRLODBCDLG_H__A0678B7F_7236_497E_A58D_987A326B69AC__INCLUDED_)