⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subject_27864.htm

📁 一些关于vc的问答
💻 HTM
字号:
<p>
序号:27864 发表者:ji950125 发表日期:2003-01-16 09:17:21
<br>主题:请教ADO
<br>内容:CString strSQL;<BR><BR>strSQL.Format("select count(*) from staff where staff_id=%s and password=%s",m_EditVal_StaffId, m_EditVal_Passwd);<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>m_pCommand-&gt;CommandText = (_bstr_t)strSQL;<BR>m_pCommand-&gt;ActiveConnection = theApp.m_pConnection;<BR>lRecordset=m_pCommand-&gt;Execute(NULL,NULL,adCmdText);<BR><BR>当执行到最后一句时会出错,经查是倒数第三句话的原因,不知怎么改?<BR>2003-1-16 9:18:04

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -