CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Nov 2008
    Posts
    6

    C++ and ADO (ActiveX Data Objects)

    Hello,

    I need to write a simple C++ program that:
    1) creates a table in an existing database
    2) inserts a record in the table and
    3) reads a record from the table

    Can someone provide me with a simple code (or suggest to me an online tutorial) for doing the above tasks using ADO (ActiveX Data Object)?

    I searched on the internet but I couldn't find a simple sample code addressing the above issues.

    My C++ program needs to access an SQL Server 2005 Database.

    Many thanks in advance.
    Last edited by nikolasapl; January 30th, 2011 at 02:32 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured