Click here to Skip to main content
15,910,797 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a doubt regarding the setup of c# project.

1.What is the need of adding database file to the setup project?
2.Is it ok if there is no db file in setup?
3.In remote machines the application works because the database is in my machine.If im installing my project in any other computer thats not in network, how will the application work?
4.How to specify the database path in the project?

Any ideas? Please help..
Posted

hi lilian,
if u add the database in setup project ,if u want to install ur application in any other system it will work without adding any path.
 
Share this answer
 
Comments
Mehdi Gholam 2-Jan-12 2:43am    
Please do not use chat/text speak when answering.
lilian87 2-Jan-12 2:53am    
what should i add, backup file or mdf file? Can u pls give some more details?
You need to include the database in your setup.
See Create database during installation of a .NET application - Version 2[^].
 
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