SELECTTABLE.H
上传用户:sygkzy
上传日期:2013-03-13
资源大小:150k
文件大小:1k
- #if !defined(AFX_SELECTTABLE_H__C9A09DC5_CCE5_11D3_A721_00062937202F__INCLUDED_)
- #define AFX_SELECTTABLE_H__C9A09DC5_CCE5_11D3_A721_00062937202F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SelectTable.h : header file
- #include "Oracl.h"
- #include "Obound.h"
- //
- /////////////////////////////////////////////////////////////////////////////
- // CSelectTable dialog
- class CSelectTable : public CDialog
- {
- // Construction
- public:
- CString m_sSql;
- ODatabase odb;
- ODynaset odyn;
- CSelectTable(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CSelectTable)
- enum { IDD = IDD_SELECTTABLE };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSelectTable)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CSelectTable)
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- afx_msg void OnSelchangeTable();
- afx_msg void OnChangeTablename();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CString GetSql(CString m_tablename);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SELECTTABLE_H__C9A09DC5_CCE5_11D3_A721_00062937202F__INCLUDED_)