Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on how we can read database file in C language? within the C and C++ forums, part of the Software Development category; Hi, As we can read and wirte to text file, is it possible to read databse .mdb file through C programme? And how? kavita...
|
|||||||
|
|||
|
how we can read database file in C language?
Hi,
As we can read and wirte to text file, is it possible to read databse .mdb file through C programme? And how? kavita |
| Sponsored Links |
|
|||
|
Re: how we can read database file in C language?
.mdb is a microsoft access dB file format. To read this using C, you will need to do the following.
The first thing to do is to find out if this file format is an "open" standard i.e. can one look at Microsoft Access documentation and figure out the format of this file. The second thing to do is to find out if the .mdb file is a binary or text file. I am not a Windows person, but if I were to guess, it would be a binary file. So, once the file format is known, one has to read the objects in the file format by opening the .mdb file and reading it in binary mode. Hope that helps. PS: If you the file format is an open standard, there might already be .mdb file browsers available on the net. So, if they are available, no need to roll your own
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Detailed differance in C language and C++ language? | prachidamle30 | C and C++ | 6 | 03-13-2008 09:42 AM |
| Read a file by Servlet | Geek_Guest | JSP | 1 | 01-24-2008 05:18 AM |
| Migrate a .dat file to SQL database | anilkumarnani | SQL | 1 | 09-25-2007 09:52 AM |
| Save Excel file using JDBC into a database | supari | Java | 1 | 08-30-2007 08:56 AM |
| How to Unzip the file when there is only Read Permission | Geek_Guest | Unix/Linux | 1 | 08-03-2007 02:12 PM |