restoring database
i have mdf and ldf files of my database.... i have a button restore_database in my c# application.. i want onclicking that button my database should be restore please give my code for this...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pradip PandeyPosted Feb 28, 2013, 10:41 PM
http://reference7.blogspot.in/2012/05/restore-database-using-c-code.html
http://www.codeproject.com/Articles/26390/SQL-Server-2005-Database-Backup-and-Restore-using
Hope it will help.