清教语法
CString strSQL(_T("select * from user2 where Account = 'yhsong'"));
m_pSet->Open(CRecordset::snapshot,strSQL);
不出现Exception;
如果是这样!
CString name;
CString strSQL(_T("select * from user2 where Account = name"));
m_pSet->Open(CRecordset::snapshot,strSQL);
这样就不行,为什么?