日期:2014-05-16 浏览次数:21561 次
_RecordsetPtr MySet; MySet.CreateInstance(__uuidof(Recordset)); SOpen.Format("UPDATE test_data SET data='00000'"); MySet->Open(_bstr_t(SOpen),_variant_t((IDispatch *)m_pConnection,true),adOpenDynamic,adLockOptimistic,adCmdText);
update test_data set data= '\cc\dd\0\cc\dd' ;
------解决方案--------------------
学习~