求助(在调用SQLExtendsFetch之前没有列被绑定)
![](zzz/editor/img/code.gif)
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); }