J
Jacob
Happy New Year!
I'm writing a program that will need to store large amounts of data from
several DataSets that I create at runtime (for information like email,
calendar, etc...). The trick is that these files will need to be created
programmatically. I think saving the DataSets into Access .mdb files is a
logical choice, but I'm unable to find any information for creating NEW
databases programmatically and I can only find information on connecting to
existing databases. So my question is:
How can I create a new database file programmatically and populate it with a
DataSet?
I've read the article: HOW TO: Create an Access Database Using ADOX and
Visual C# .NET (http://support.microsoft.com/?id=317881). With that I can
create a new empty .mdb file and creating the DataSet is no problem, but
that's as far as I've got.
If someone could suggest a solution, or an alternative I would appreciate
it.
Thanks,
Jacob
I'm writing a program that will need to store large amounts of data from
several DataSets that I create at runtime (for information like email,
calendar, etc...). The trick is that these files will need to be created
programmatically. I think saving the DataSets into Access .mdb files is a
logical choice, but I'm unable to find any information for creating NEW
databases programmatically and I can only find information on connecting to
existing databases. So my question is:
How can I create a new database file programmatically and populate it with a
DataSet?
I've read the article: HOW TO: Create an Access Database Using ADOX and
Visual C# .NET (http://support.microsoft.com/?id=317881). With that I can
create a new empty .mdb file and creating the DataSet is no problem, but
that's as far as I've got.
If someone could suggest a solution, or an alternative I would appreciate
it.
Thanks,
Jacob