使用C#创建数据库备份 [英] Creating DB back up using C#
本文介绍了使用C#创建数据库备份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助我,
我需要创建一个简单的Web应用程序来创建SqlServer数据库的备份.
提前感谢.....
解决方案
供以后参考,您通常不会得到这样的问题的答案,即Google for [使用C#和.NET 2.0的SQL Server 2005数据库备份和还原 [ C#中的备份实用程序 [有 [有 [ 解决方案
For future reference, you often will not get an answer to a question like this, that is what Google is for[^]. You will need to execute that SQL from your C# app - AFAIK this is the easiest way to achieve a database backup in the manner you mentioned.
Please have a decent look before asking questions like this. There are a myriad places that describe exactly how to do this.
Some links ->
SQL Server 2005 Database Backup and Restore using C# and .NET 2.0[^]
Backup Utility in C#[^]
you already got some perfect link in addition to above all answer you can also go there[^] and there[^] having same question with nice solutions.
这篇关于使用C#创建数据库备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文