www.pudn.com > Wgl.rar > WglRecordset.h


// WglRecordset.h: interface for the WglRecordset class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_WGLRECORDSET_H__3F138207_41CB_41CC_B8A5_2505C68C7CEF__INCLUDED_) 
#define AFX_WGLRECORDSET_H__3F138207_41CB_41CC_B8A5_2505C68C7CEF__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "WglAdo.h" 
 
 
class WglRecordset   
{ 
private: 
	BOOL  Flag; 
public: 
	_ConnectionPtr	m_pConnection; 
	_RecordsetPtr	m_pRecordset; 
 
	WglRecordset(); 
	WglRecordset( _ConnectionPtr m_pConn); 
	virtual ~WglRecordset(); 
public: 
 
    BOOL  GetConnection(_ConnectionPtr m_pConn); 
    BOOL  GetRecordset(CString  strTable); 
	//void GetTableData(); 
    void  SenddataToList(CListBox *); 
 
 
}; 
 
#endif // !defined(AFX_WGLRECORDSET_H__3F138207_41CB_41CC_B8A5_2505C68C7CEF__INCLUDED_)