PC Review


Reply
Thread Tools Rate Thread

ADO.NET provider equivilent in C++?

 
 
David Thielen
Guest
Posts: n/a
 
      17th Nov 2008
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
 
Reply With Quote
 
 
 
 
William \(Bill\) Vaughn
Guest
Posts: n/a
 
      17th Nov 2008
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


 
Reply With Quote
 
Jialiang Ge [MSFT]
Guest
Posts: n/a
 
      18th Nov 2008
Hello Dave,

Apart from William's ssuggestions, here is an example of using ADO.NET in
C++:

http://msdn.microsoft.com/en-us/library/9ctka9db.aspx

Regards,
Jialiang Ge ((E-Mail Removed), remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================

 
Reply With Quote
 
David Thielen
Guest
Posts: n/a
 
      18th Nov 2008
Perfect - thanks - dave


On Tue, 18 Nov 2008 07:37:37 GMT, (E-Mail Removed)
("Jialiang Ge [MSFT]") wrote:

>Hello Dave,
>
>Apart from William's ssuggestions, here is an example of using ADO.NET in
>C++:
>
>http://msdn.microsoft.com/en-us/library/9ctka9db.aspx
>
>Regards,
>Jialiang Ge ((E-Mail Removed), remove 'online.')
>Microsoft Online Community Support
>
>=================================================
>Delighting our customers is our #1 priority. We welcome your comments and
>suggestions about how we can improve the support we provide to you. Please
>feel free to let my manager know what you think of the level of service
>provided. You can send feedback directly to my manager at:
>(E-Mail Removed).
>
>This posting is provided "AS IS" with no warranties, and confers no rights.
>=================================================



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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# equivilent for Asc and Chr INeedADip Microsoft C# .NET 9 4th Jan 2006 11:09 PM
Equivilent of VB's DatePart Ryan Ternier Microsoft C# .NET 1 14th Oct 2005 07:22 PM
concatenate equivilent =?Utf-8?B?dGluYQ==?= Microsoft Access Queries 1 19th Sep 2005 11:35 AM
Geforce 4 equivilent? ~mike~ ATI Video Cards 7 24th Jun 2005 04:04 AM
.NET equivilent of CDO AttachURL ? Ricci Hammond Microsoft Dot NET 2 27th Aug 2004 09:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:34 AM.