It is necessary for me to write an application using C# .net that will edit specific .mdb files.
It’s purely an in-department application for reading in-department files that debateably shouldn’t be .mdb files, but I don’t have a choice in that matter. I am pushing for changing to XML files, but that’s a different matter.
The files are very much finite, 3ish tables with 100ish records each; so I hope to read the entire databases into application specific objects. Anything erroneous will be ignored and a new database copy will overwrite the previous one. The databases are a very specific format and easy for me to validate or throw out.
There seems to be many methods for actually reading/writing mdbs in .net which has left me confused. Can anyone suggest a best one?
You can try with this code – based on
Oledb provider