📄 rxrecordset.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -