我在做一个用户名密码的登录窗口时,在该资源对应的类中定义了一个CDatabase 对象,和CRecordSet对象'm_recordSet' ,在stdafx.h中加入了头文件afxdb.h 编译时提示如下错误error C2501: 'CRecordSet' : missing storage-class or type specifiers
\studentscore\logindlg.h(18) : error C2501: 'm_recordSet' : missing storage-class or type specifiers
\StudentScore\LoginDlg.cpp(54) : error C2065: 'm_recordSet' : undeclared identifier