hi all
i m working on window programing with c# and use database MS Access
i able to take backup of my database but problem is i m not understand to how to restore database and when i restore database then currently database is overwright or not
because i want to hold old database and curently database also
please tell me how to restore database in c# with ms access and also backup
thanks
Loading

Dharmesh SharmaPosted Sep 8, 2009, 7:40 AM
i understand
but stil my problam is how to restore database no idea to how do that
give me some code example
Kirtan PatelPosted Sep 8, 2009, 7:29 AM
dont Forget to mark "Do you like answer" please it will give me some Credits :)
If you want to Keep Your old database Too then
Rename it With Some other Extension and Copy The Database that you have Previously Back up
Say if you are having Database Test.mdb currently using it .
now you have Made a Backcopy of it say backupTest.mdb and Stored Somewhere .
Now When you restore First rename Current Databse Say Test1.mdb.bak
and Copy that Previously backuped Database there .