如何从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.