在C#中备份MS-SQL数据库 [英] Backup of MS-SQL Database in c#
本文介绍了在C#中备份MS-SQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用C#代码备份MSSQL数据库,然后我们需要以压缩格式下载该备份文件.
How to take a backup of MSSQL Database using C# code and then we need to download that backup file in compressed format.
推荐答案
尝试以下资源-
使用C#和.NET 2.0的SQL Server 2005数据库备份和还原 [ http://midnightprogrammer.net/post/BackupRestore-SQL-database-using-C.aspx [ ^ ]
^ ]
Try the following resources -
SQL Server 2005 Database Backup and Restore using C# and .NET 2.0[^]
http://midnightprogrammer.net/post/BackupRestore-SQL-database-using-C.aspx[^]
http://www.wisecodes.com/2009/08/code-in-c-to-create-a-backup-of-a-database-in-sql-server-and-restore-it/[^]
请参阅:
http://www.daniweb. com/software-development/csharp/threads/202843/take-backup-of-sql-server-database-using-c [
Refer this:
http://www.daniweb.com/software-development/csharp/threads/202843/take-backup-of-sql-server-database-using-c[^]
这篇关于在C#中备份MS-SQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文