none
Best way to access database RRS feed

  • Question

  • what is the best way to access database from VC++? My application is MFC based and I am using visual studio 2008 and SQL Server 2005 express.

    Two ways I can think of are:

    1) using ODBC, CDatabase, CRecordset...

    2) OLE DB, creating Provider and a Consumer. The only article I could find was almost 10 years old - http://msdn.microsoft.com/en-us/library/aa260857(VS.60).aspx

    Thank you.
    • Edited by gsumm Wednesday, April 29, 2009 11:14 PM
    Wednesday, April 29, 2009 9:56 PM

Answers

All replies