Hi all:
I am just learning how to use MFC ODBC classes to access Sybase database .and i have two problems .
1:some one said,i can use an SQL server driver to access a Sybase database ,but it just doesn't work to me.
2:this questionis about CRecordset MFC ODBC class ,i know that i can insert ,update or delete records in the database by ExcuteSQL function of CDatabase,but my question is how to use CRecordset's menber function AddNew ,Edit ,Delete,to accomplish that.
any help would be appreciated.
I am just learning how to use MFC ODBC classes to access Sybase database .and i have two problems .
1:some one said,i can use an SQL server driver to access a Sybase database ,but it just doesn't work to me.
2:this questionis about CRecordset MFC ODBC class ,i know that i can insert ,update or delete records in the database by ExcuteSQL function of CDatabase,but my question is how to use CRecordset's menber function AddNew ,Edit ,Delete,to accomplish that.
any help would be appreciated.