【VC开源代码栏目提醒】:网学会员为需要VC开源代码的朋友们搜集整理了DBCommand.cpp相关资料,希望对各位网友有所帮助!
// DBCommand.cpp: implementation of the CDBCommand class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ERSDemo.h"
#include "DBCommand.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CDBCommand::CDBCommand()
{
}
CDBCommand::~CDBCommand()
{
}
void CDBCommand::ExecuteSQL(CString SQL)
{
ASSERT(m_cnn);
ASSERT(m_cnn->m_Actived);
m_cnn->m_pConn->Execute(_bstr_t(SQL), NULL, adCmdText);
}
上一篇:
FMLOGIN.frm
下一篇:
投简历到国外的公司需考虑哪些东西?