求助(在调用SQLExtendsFetch之前没有列被绑定)
程序代码:
void CStudentView::Onappear() { // TODO: Add your control notification handler code here CString s("select no from student"); pDatabase.Open(_T("student")); CRecordset pSet(&pDatabase); pSet.Open(CRecordset::snapshot,s, CRecordset::readOnly); UpdateData(FALSE); }