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...
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Pradip PandeyRank #452 · 5.6K reputationPosted Feb 28, 2013, 5:41 PM EST
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.