Click here to Skip to main content
15,889,843 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I want to create a database file when my application run first time, then use that database file every time.


I have a SQL Script of my DB used in application. so i want that if the database file is not present at the destination then it will create automatically from this SQL Script.
Posted

 
Share this answer
 
It might help you,

Creating DB Programmatically MCB[^]

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900