⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accountado.h

📁 其中包含了ADO的多个实例
💻 H
字号:
// AccountAdo.h: interface for the CAccountAdo class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ACCOUNTADO_H)
#define AFX_ACCOUNTADO_H

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

class CAccountAdo  
{
private:

protected:
	_ConnectionPtr m_pConnection;
	CString m_strConnection;
	CString m_strLastError;
	
public:
	_ConnectionPtr GetActiveConnect(void);
	int CheckConsumeDate(LPCTSTR lpcDate);
	int AccountSave(LPCTSTR lpcDate);
	bool Execute(LPCTSTR lpstrExec);
	void Close(void);
	bool IsOpen(void);
	bool Open(LPCTSTR lpstrConnection);
	void dump_com_error(_com_error &e);

	
	CAccountAdo();
	virtual ~CAccountAdo();

	void SetConnectionString(LPCTSTR lpstrConnection)
		{m_strConnection = lpstrConnection;};
	CString GetConnectionString()
		{return m_strConnection;};
	CString GetLastError() 
		{return m_strLastError;};
};

#endif // !defined(AFX_ACCOUNTADO_H)

⌨️ 快捷键说明

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