⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 odbcdemo1dlg.h

📁 简单数据库入门实例ODBC访问ACCESS,大家下一下,对学习很有帮助
💻 H
字号:
// ODBCDemo1Dlg.h : header file
//

#if !defined(AFX_ODBCDEMO1DLG_H__9967545D_F020_4D1E_9A92_84BA822A0C00__INCLUDED_)
#define AFX_ODBCDEMO1DLG_H__9967545D_F020_4D1E_9A92_84BA822A0C00__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000




/////////////////////////////////////////////////////////////////////////////
// CODBCDemo1Dlg dialog

class CODBCDemo1Dlg : public CDialog
{
// Construction
public:
	CODBCDemo1Dlg(CWnd* pParent = NULL);	// standard constructor
	CDatabase m_DB;
	CRecordset* m_Set;

// Dialog Data
	//{{AFX_DATA(CODBCDemo1Dlg)
	enum { IDD = IDD_ODBCDEMO1_DIALOG };
	CString	m_Author;
	CString	m_Info;
	CString	m_ISBN;
	CString	m_Price;
	CString	m_Title;
	CString	m_Publisher;
	CString	m_Yearpublish;
	CString cSQL;
	CString cID;
	int nID;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CODBCDemo1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnConnect();
	afx_msg void OnNext();
	afx_msg void OnPrevious();
	afx_msg void OnEnd();
	afx_msg void OnHome();
	afx_msg void OnDisconnect();
	afx_msg void OnInsert();
	afx_msg void OnDelete();
	afx_msg void OnEdit();
	afx_msg void OnSave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ODBCDEMO1DLG_H__9967545D_F020_4D1E_9A92_84BA822A0C00__INCLUDED_)

⌨️ 快捷键说明

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