Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which path i have to give when creating setup of the project.??
m not getting database in set up ...
how to give dynamic path
Posted
Comments
Sandeep Mewara 26-Jun-12 4:32am    
Not clear.

You want to add database to setup? What path is being refered here?
jinenk 26-Jun-12 4:45am    
yes i want to add database in setup ... till m using
@"Data Source=SONY-VAIO\SQLEXPRESS ; Initial Catalog=Travels ; integrated security=true";
this connection string
srinivas vadepally 26-Jun-12 6:07am    
do you want to add connection string while hosting?

yes i want to add database in setup
Have a look at these:
Creating setup With support for database creation Using VS.NET[^]
Create database during installation of a .NET application [^]
Deploy your Application and Database[^]

Also, look at the answers given for the similar question asked here[^].
 
Share this answer
 
Comments
Prasad_Kulkarni 26-Jun-12 6:33am    
Good references +5!
Sandeep Mewara 26-Jun-12 14:43pm    
Thanks Prasad.
Espen Harlinn 26-Jun-12 12:44pm    
Nice links :-D
Sandeep Mewara 26-Jun-12 14:43pm    
Thanks Espen.
Just go to the Connection Strings Website[^] and customize your Database connection string.
 
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