In a usual MFC database project we have a lot of CRecordset derived classes generated by Class Wizrad. The presented here CODBCRecordset class is a very easy to use replacement of all these CRecordset classes. CODBCRecordset is derived from CRecordset but it does not have hard-coded inside the number and the type of the database fields.


Download source code    ODBCRecordset.zip (13 KB)

Comments are closed.