?? myfunction.h
字號:
#ifndef LRUNSQL
#define LRUNSQL
class CDrawDlg;
void DateToInt(CString date,int& year,int& month,int& day);
bool OpenPrintFrame(CWnd* parent,CDrawDlg * m_draw);
#define XS 0
#define XSTH 1
#define RK 2
#define RKTH 3
class LRunSql
{
public:
LRunSql();
~LRunSql();
bool RunSQL(CString sql);
bool CheckSQLResult(CString sql);
public:
static _ConnectionPtr m_database;
static bool RollbackTrans();
static bool CommitTrans();
static bool BeginTrans();
static bool Close();
static bool InitConnectPtr();
static bool ConnectDataBase();
_RecordsetPtr m_recordset;
};
// _ConnectionPtr m_database;
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -