Click here to Skip to main content
15,893,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to create Installer for windows application containing sql server database


XML
<a href="http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/">http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/</a>[<a href="http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/" target="_blank" title="New Window">^</a>]



but problem how to integrate sql server withnthe installer
Posted
Updated 1-Oct-12 19:41pm
v2

 
Share this answer
 
sample connection string

SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\sample.mdf;Integrated Security=True;User Instance=True");
SqlCommand cmd = new SqlCommand();
 
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