📄 lrunsql.h
字号:
// LRunSql.h: interface for the LRunSql class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LRUNSQL_H__42F09E7F_D421_45BC_80EC_98CAF58436A3__INCLUDED_)
#define AFX_LRUNSQL_H__42F09E7F_D421_45BC_80EC_98CAF58436A3__INCLUDED_
#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF", "adoEOF") rename("BOF","adoBOF")
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
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;
};
#endif // !defined(AFX_LRUNSQL_H__42F09E7F_D421_45BC_80EC_98CAF58436A3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -