Populating, Restore and Backup SQL Database using C#

27. May 2009 15:01

C#  Comments

You want to add a functionality in your C# application to allow user to select the database to restore and taking backups of the database. C# provides the classes to allow a programmer to achieve this in the application.


Before you go and implement this feature in your application, make sure you have added the references of the following namespaces:

1.) Microsoft.SqlServer.Smo

2.) Microsoft.SqlServer.ConnectionInfo


Click the below link to download the full application


Download: DBBackup.zip (290.99 kb)


Currently rated 4.0 by 1 person