My question is in relation with the connectivity
with SQL Server Database. I want to connect my SQL
Server database with my MFC Application. I am able
to connect Access database smoothly but what is to
be done for SQL Server.
Please see the followings :
1) My project is a SDI application.
2) I have chosen "Header Files Only" in AppWizard
Database Support screen.
3) I am not deriving any class from CDatabase. Only
in OnNewDocument() of Document class I am defining
an object of CDatabase.
4) I am deriving table specific class from CRecordset
and in OnNewDocument() associating this with above
5) Ultimately I am using the CRecordset class in my
Dialog taking the ptr of CRecordset class.
Considering the above please give me solution with