www.pudn.com > MyRecord.rar > RecordQuery.h


#if !defined(AFX_RECORDQUERY_H__BE56154D_5103_43E7_B41F_34F5C4DAA319__INCLUDED_) 
#define AFX_RECORDQUERY_H__BE56154D_5103_43E7_B41F_34F5C4DAA319__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// RecordQuery.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CRecordQuery dialog 
 
class CRecordQuery : public CDialog 
{ 
// Construction 
public: 
	CRecordQuery(CWnd* pParent = NULL);   // standard constructor 
	_RecordsetPtr	m_pRecordset;	//定义ADO连接记录集变量指针 
	CString GName1[100],GTime1[100],GItem1[100],GNote1[100]; 
	int Num; 
	// Dialog Data 
	//{{AFX_DATA(CRecordQuery) 
	enum { IDD = IDD_RECORDQUERY }; 
	CListCtrl	m_list1; 
	CString	m_name; 
	CString	m_time; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CRecordQuery) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	void InitListData(); 
	// Generated message map functions 
	//{{AFX_MSG(CRecordQuery) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnQuery(); 
	afx_msg void OnOpen(); 
	afx_msg void OnDelete(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_RECORDQUERY_H__BE56154D_5103_43E7_B41F_34F5C4DAA319__INCLUDED_)