myfunction.h
来自「这是一个信息管理系统的源代码」· C头文件 代码 · 共 34 行
H
34 行
#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 + =
减小字号Ctrl + -
显示快捷键?