16,473
社区成员
发帖
与我相关
我的任务
分享
m_pRecordset->GetCollect(str);
// or
m_pRecordset->GetCollect(_T("123"));
CString str;
str="123";
//用字符串变量,而不是字符串
AfxMessageBox(str);
//just retry
m_pRecordset->GetCollect((LPCTSTR)str);
//or
m_pRecordset->GetCollect(_bstr_t((LPCTSTR)str));