3,882
社区成员
发帖
与我相关
我的任务
分享
strSqlCode1 = "select count(ID) as rowCount from muban";//语句1
//strSqlCode1 = "select * from muban";//语句2
m_pRecordset->Open(_bstr_t(strSqlCode1), _variant_t((IDispatch*)m_pConnection,true),adOpenStatic,adLockOptimistic,adCmdText);