rxado.h

来自「用Visual c++实现汽配件管理系统」· C头文件 代码 · 共 31 行

H
31
字号
// RxADO.h: interface for the RxADO class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_RXADO_H__4B731009_E70A_4FE6_A9DF_7F8E87010D3C__INCLUDED_)
#define AFX_RXADO_H__4B731009_E70A_4FE6_A9DF_7F8E87010D3C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "RxRecordset.h"
class RxADO  
{
public:
	void Close();
	_ConnectionPtr cnn;
	_ConnectionPtr GetConnection();
	RxRecordset record;
	CString AutoNumber(CString sTable, CString sFieldName, CString sCode, int nStyle=1);
	int GetRecordCount(_RecordsetPtr pRst);
	void GetADOErrors(_com_error eErrors);
	CString FieldToOtherField(CString cDataBaseName, CString cFieldName, CString cValue, CString cReturnField, int nStale);
	bool SetConnection(CString LinkString);
	RxADO();
	virtual ~RxADO();


};

#endif // !defined(AFX_RXADO_H__4B731009_E70A_4FE6_A9DF_7F8E87010D3C__INCLUDED_)

⌨️ 快捷键说明

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