4,011
社区成员
发帖
与我相关
我的任务
分享
INSERT INTO [Files]([FileName],[Path],[Ext])VALUES('Dave Raggett's Introduction to HTML.url','D:\收藏夹\','url')
#define SQL_INSERT "INSERT INTO [Files]([FileName],[Path],[Ext])VALUES('%s','%s','%s')"
for(...)
{
m_Name.Replace("'","''");
m_sql.Format(SQL_INSERT,m_Name,m_Path,m_Ext);
m_conn->Execute(_bstr_t(m_sql),&RecordsAffected,adCmdText);
}