Prepare for your Next Interview
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 | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Detailed differance in C language and C++ language? | prachidamle30 | C and C++ | 6 | 03-13-2008 08:42 AM |
| Read a file by Servlet | Geek_Guest | JSP | 1 | 01-24-2008 04:18 AM |
| Migrate a .dat file to SQL database | anilkumarnani | SQL | 1 | 09-25-2007 08:52 AM |
| Save Excel file using JDBC into a database | supari | Java | 1 | 08-30-2007 07:56 AM |
| How to Unzip the file when there is only Read Permission | Geek_Guest | Unix/Linux | 1 | 08-03-2007 01:12 PM |