If the code can access the managed .NET Framework namespace, yes, ADO.NET
and SqlClient is the best way to connect/access SQL Server. If not, my next
choice would be ODBC then the SNAC OLE DB provider.
--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
____________________________________________________________________________________________
"David Thielen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi;
>
> I have to write a small MFC/C++ program that hits a database. Is
> ODBC/OleDb still the best way there or do they have something like the
> ADO.NET providers?
>
> thanks - dave
>
> david@at-at-(E-Mail Removed)
> Windward Reports -- http://www.WindwardReports.com
> me -- http://dave.thielen.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm