Click here to Skip to main content
15,888,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created windows form application in visual studio 2008.for my application i need a data base.i created shared database in visual studio 2008.and my back end database is sql server 2008 R2.Now i want to create setup file for this application where i need database attached to application.this should be deployed in client pc without sql server installation.please help me to do this task.
Posted
Comments
[no name] 4-Mar-15 7:43am    
add app_data folder in your project and add your Database file(MDF and LDF) into that folder and reset the connection string to app_code database file then create the setup.

so you don't have to install sql server on client machine.

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