Friday, July 31, 2009

Can we connect database in 'C' language?

i need to connect a database in a C program and i have to enter the data in the database and retrieve it in runtime

Can we connect database in 'C' language?
Unix platform? What database?





Update: Why use C for this? Access has its own (VB-based) GUI. If you have to use C, you need the C API for MS-Access. Are you using a Visual C tool?
Reply:Almost any language can be used to connect to any database, so yes, you can connect to an Access database with C. I'd suggest using an ODBC connection (see the link for connection strings - Access 2007 is 2007 and later).


No comments:

Post a Comment