如何从asp.net备份sql server 2008数据库? [英] How to get sql server 2008 database back up from asp.net?

查看:116
本文介绍了如何从asp.net备份sql server 2008数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过asp.net页面中的按钮clink获取sql server 2008r2数据库的备份(.bak)?

How can i get the back up(.bak) of sql server 2008r2 database by button clink in asp.net page?

推荐答案

从这里开始:用C#备份SQL数据库 [ ^ ]这将生成备份文件给你 - 你所要做的就是将文件传输给用户,就像你正常下载一样。
Start here: Backing up an SQL Database in C#[^] That will generate the backup file for you - all you then have to do is transfer the file to the user in the same way you would a normal download.


这篇关于如何从asp.net备份sql server 2008数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆