使用odbc连sqlserver
sprintf(buf,"Select * from status where id=%d",0)
StatusSet.Open(CRecordset::snapshot,buf);
StatusSet.Edit();
StatusSet.m_status="ddd";
在update时出错?
StatusSet.Update();
...全文
1491打赏收藏
crecordset的update问题
使用odbc连sqlserver sprintf(buf,"Select * from status where id=%d",0) StatusSet.Open(CRecordset::snapshot,buf); StatusSet.Edit(); StatusSet.m_status="ddd"; 在update时出错? StatusSet.Update();