By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,971 Members | 1,467 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,971 IT Pros & Developers. It's quick & easy.

How to run sql script to restore database as a part of .net setup installation

P: 30
HI All,
I am using C#.net 2005 and my problem is,
i want to automatically run sql script to Restore database as a part of .net Setup and Deployment.
I have done setup for my project by using setup wizard but not able to add sql script
to resore database while i deploy my setup to client machine i should run script during installation
to restore database.
Can anyone have solution pls help me out.
Jan 25 '07 #1
Share this Question
Share on Google+
1 Reply


radcaesar
Expert 100+
P: 759
Here is a solution from code project

http://www.codeproject.com/cs/database/DBInstaller.asp

:)
Jan 25 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.