Simple DB Question

This is a discussion on Simple DB Question within the C++ Programming forums, part of the General Programming Boards category; Hi all, I have a simple DB question. First off, is it possible to connect to an access database through ...

  1. #1
    dizz
    Guest

    Exclamation Simple DB Question

    Hi all, I have a simple DB question.
    First off, is it possible to connect to an access database through C++, if it is what is the simplest method of doing so.

  2. #2
    dizz
    Guest
    BTW I know SQL and am fluent in connecting to databases through ASP VBscript.

  3. #3
    dizz
    Guest
    One more thing if it matters i am using Borland's C++Builder 6.

    Thanks for the help in advanced!

  4. #4
    dizz
    Guest
    well maybe a little help would be nice maybe even a point in the right direction ie. URL!

  5. #5
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    There's ODBC or ADO or DAO, ODBC is the most portable across platforms.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  6. #6
    dizz
    Guest
    yes i know taht but how would i go about connecting to a database in C++ using ODBC?

  7. #7
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    I was just at the MSDN site <http://msdn.microsoft.com> but I'm too lazy to go back and pull up all the stuff. But, essentially it was like:

    SQLconnect("datasource"); // some other stuff of course.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple question regarding variables
    By Flakster in forum C++ Programming
    Replies: 10
    Last Post: 05-18-2005, 09:10 PM
  2. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-21-2005, 12:41 AM
  3. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 09:46 AM
  4. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 06:58 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21