I'm wondering how to add several data tables that I've built in code, to a blank MDB file that ships with my app.
I find it easy enough to connect to the MDB file via the OledbConnection object, but then I'm at a loss for an easy way to add my tables to it. There it sits...open...and empty, but what next?
I can add my tables to a dataset easily enough, but I still don't see an easy way to map the dataset over to my open MDB file.
Am I missing an easy fix for this? I'd like to avoid using ADOX if possible. I also see that it is very easy to write the dataset out as XML, but find no similar functionality for writing out an MDB file.
Any help would be appreciated.