通过C#备份和恢复sql数据库中表的一些记录 [英] backup and restore some records of a table in sql database by C#

查看:66
本文介绍了通过C#备份和恢复sql数据库中表的一些记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过C#备份和恢复sql数据库中某些表的记录?

(一些记录)我的意思是选择一些记录并制作该记录的备份文件。

然后恢复记录。

恢复时我会更喜欢点击文件并自动记录备份到数据库表格。

提前谢谢你。

how to backup and restor some records of a table in sql database by C#?
(some records) I mean to select some record and make a backup file of that records.
then restor that records .
in restoring i preffer to click on file and automatically records backs up to the table of database.
thank you in advance.

推荐答案

尝试

http:/ /www.youtube.com/watch?v=HuPYmY0XLjk [ ^ ]

SQL Server 2005使用C#和.NET 2.0进行数据库备份和还原 [ ^ ]

http://www.c-sharpcorner.com/Forums/Thread/172454/restore-backup-database-using-code.aspx [< a href =http://www.c-sharpcorner.com/Forums/Thread/172454/restore-backup-database-using-code.aspx\"target =_ blanktitle =New Window> ^ ]

http ://www.c-sharpcorner.com/uploadfile/rohatash/restore-sql-server-backup-file-with-c-sharp/ [ ^ ]

http://www.mssqltips.com/sqlservertip / 1849 / backup-and-restore-sql-server-databases-programmingmatically-with-smo / [ ^ ]
Try
http://www.youtube.com/watch?v=HuPYmY0XLjk[^]
SQL Server 2005 Database Backup and Restore using C# and .NET 2.0[^]
http://www.c-sharpcorner.com/Forums/Thread/172454/restore-backup-database-using-code.aspx[^]
http://www.c-sharpcorner.com/uploadfile/rohatash/restore-sql-server-backup-file-with-c-sharp/[^]
http://www.mssqltips.com/sqlservertip/1849/backup-and-restore-sql-server-databases-programmatically-with-smo/[^]


这篇关于通过C#备份和恢复sql数据库中表的一些记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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