Click here to Skip to main content
15,900,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to install SQL Server 2005 or 2003 with my C# code. Please tell me how to install sql server with my program and give me some code examples or forums.

Thanks all.
Wynne C
Posted

You need to go to your Projects Properties page. Under Publish, you need to click on the Prerequisites button. Then you need to select the version of SQL Server express you want to include, select whether you want the client to download the file or whether the file should be included with your executable, then press OK. Voila!
 
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