Cdatabase Class:
The CDataBase class helps to connect to the data source. The Open member function opens a connection to the data source. CRecordset class is used for performing the manipulation on the connected data source. The Close member function demolishes the CDatabase object. It also closes any record sets that have not been formerly closed.