?? accountado.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 + -