How to save the Dataset to a new file using today's Date as filename?
Posted on 2004-10-14
I am using Provider=Microsoft.Jet.OLEDB.4.0 connection to load and save my database to file.
I have created datatable in a dataset. and I would like to save this datatable/dataset to a new file created using todays date as the filename.
e.g. checks if the file exist, then otherwise create a new file called "14-07-2004.mdb"
I guess the checking if the file exist is easy, but I don't how to create new file in ADO.net and using the date as a filename.
Any help would be appreciate!
many many thanks.