adotestdlg.h

来自「WINCE下数据库的一些操作」· C头文件 代码 · 共 72 行

H
72
字号
// AdoTestDlg.h : header file
//

#if !defined(AFX_ADOTESTDLG_H__DB42C1F8_3FD1_4A21_A411_44E0988EE007__INCLUDED_)
#define AFX_ADOTESTDLG_H__DB42C1F8_3FD1_4A21_A411_44E0988EE007__INCLUDED_

#include "Ado.h"	// Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CAdoTestDlg dialog

class CAdoTestDlg : public CDialog
{
private:
	CComPtr<_Connection> m_conn;
	CComPtr<_Recordset> m_rs;
	void UpdateFileds();

// Construction
public:
	AdoDB m_db;
	CComPtr<_Recordset>		m_pRS;

	CAdoTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CAdoTestDlg)
	enum { IDD = IDD_ADOTEST_DIALOG };
	CString	m_strFld1;
	CString	m_strFld2;
	CString	m_strDB;
	CString	m_strTable;
	CString	m_strSql;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAdoTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CAdoTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtncreatedb();
	afx_msg void OnBtnopendb();
	afx_msg void OnBtnclosedb();
	afx_msg void OnBtnadditem();
	afx_msg void OnBtnprev();
	afx_msg void OnBtnnext();
	afx_msg void OnBtncreatetbl();
	afx_msg void OnBtnopentbl();
	afx_msg void OnBtnclosetbl();
	afx_msg void OnBtnexe();
	virtual void OnOK();
	afx_msg void OnBtnexit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ADOTESTDLG_H__DB42C1F8_3FD1_4A21_A411_44E0988EE007__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?