rxrecordset.h

来自「短信防伪系统服务器端」· C头文件 代码 · 共 37 行

H
37
字号
// RxRecordset.h: interface for the CRxRecordset class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_RXRECORDSET_H__37D3FD52_C05B_49D7_AE77_A54831893987__INCLUDED_)
#define AFX_RXRECORDSET_H__37D3FD52_C05B_49D7_AE77_A54831893987__INCLUDED_

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

class CRxRecordset  
{
public:
	
	bool MoveFirst();
	bool Open(CString srecordset, UINT adCmd=adCmdTable);
	int GetRecordCount();
	bool MoveNext();
	bool MoveLast();
	bool MovePrevious();
	bool Move(int nRecordNumber);
	int GetFieldCount();
	_RecordsetPtr GetRecordset();
	void GetErrors(_com_error eErrors);
	void Close();
	CString GetSQL();
	CRxRecordset();
	virtual ~CRxRecordset();

private:
	CString sRecordset;
	_RecordsetPtr rst;
};

#endif // !defined(AFX_RXRECORDSET_H__37D3FD52_C05B_49D7_AE77_A54831893987__INCLUDED_)

⌨️ 快捷键说明

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