Link to home
Start Free TrialLog in
Avatar of teefay
teefayFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Copy one access database to another using vb.net

hello,

i've got a program which writes and reads from an access database using SQL statements. my problem now is i have created another database which i want to copy all the fields from my original DB. can anyone please help me sort out this problem.

i have created a new dataset which i want copy to but i dont know which method to use.

i did this: dset1.copy(dSet2) but its not working.
ASKER CERTIFIED SOLUTION
Avatar of Jorge Sanchez
Jorge Sanchez
Flag of Ecuador image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i think the best will be to just copy the File.Copy to make the copy of the database and then remove the rows (if you want to) programatically by calling the delete statements