Thread: Simple DB Question

  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
    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
    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, 08:10 PM
  2. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  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