如何在按钮上使用ASP.net备份sql脚本 [英] how to backup sql script on Button click using ASP.net

查看:55
本文介绍了如何在按钮上使用ASP.net备份sql脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将整个数据库编写成一个文件(所有表,存储过程,视图,函数以及数据)。有没有最简单的方法,并使用asp.net按钮点击....亲切帮助...谢谢

解决方案

这是一个非常暧昧的问题,这一切都取决于关于你如何设计你的应用程序。



有很多文章提出了这样做的方法;这是代码项目中的一个:用C#备份SQL数据库 [ ^

I want to script my whole database into a file(All tables, stored procedures, views, functions and also Data). Is there any simplest way, and using asp.net button click ....kindly help...thanks

解决方案

This is a very ambigous question and it all depends on how you've designed your application.

There are a lot of articles out there that suggest ways of doing it; Here is one from code project: Backing up an SQL Database in C#[^]


这篇关于如何在按钮上使用ASP.net备份sql脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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