Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
I created desktop application using c# ( visual studio 2010 ) and a database using sql server 2008.
and i made a setup project but the question is :
1- how to put the database files in my setup project?
2- how can i attach the database automatically in sql server 2008 express when i install the application on another machine?
3- there is another solution instead of install sql server 2008 express on the other machines i'll install the application on it (there is no network between them )?
Posted
Comments
tranesyasd 21-Feb-12 12:37pm    
i need this necessary

1 solution

 
Share this answer
 
v2
Comments
tranesyasd 22-Feb-12 1:44am    
thank you sir for cooperation.
but your links the both speak about web application and my application is desktop.
and these articles speak about remote database and my application will run on stand-alone machine so i need the database and the application run on stand-alone machine without any networks.

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