从asp.net导入和导出数据 [英] import and export data from asp.net

查看:92
本文介绍了从asp.net导入和导出数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在尝试找到从我的数据库导出数据的解决方案,但我不知道什么是最好的方法。

简单地说,我将来会升级我的项目而且我不会我想丢失我的数据加上也许,我将来会添加一些新表,也许会在当前表中添加一些列。



那我应该怎么做呢?



提前致谢。

Hi I am trying to find a solution to export data from my database but i don't know what is the best approach .
simply, i will upgrade my project in the future and i don't want to lose my data plus maybe, i add some new tables in the future and maybe some columns to the current tables .

so what should i do with that ?

Thanks in advance.

推荐答案

您的问题没有明确定义。没有人可以告诉你什么是最好的,但正如我所见,你不需要任何导出,只需创建数据库的备份。将来你可以将它恢复到另一个,并做你想要的。当你在某处导入时导出很好 - 很可能是在一个完全不同的系统中。



参见备份和恢复 [ ^ ]。
Your question is not well defined. Nobody can tell what's the best for your porposes, but as I see, you don't need any export, just create a backup of your database. In the future you can restore it into a different one, and do what you want. Exporting is good when you have import somewhere - most likely in a totally different system.

See backup and restore[^] in SQL Server.


这篇关于从asp.net导入和导出数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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