如何将表数据复制到另一个表 [英] how copy table data to another table
本文介绍了如何将表数据复制到另一个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用按钮将table1数据复制到表格表。即时通讯使用vb.net 2010和sql server。请帮助我。谢谢
i need copy table1 data to table table using press button. im using vb.net 2010 and sql server. pls help me. thank
推荐答案
如果你的意思是从SQL中的一个表到同一个SQL服务器数据库中的另一个表,那么看看 SQL SELECT INTO语句 [ ^ ]
如果你的意思是别的,那么看看SqlBulkCopy类 [ ^ ]
If you mean from one table in SQL to another table in the same SQL server database, then look at the SQL SELECT INTO statement[^]
If you mean something else, then look at the SqlBulkCopy class[^]
这篇关于如何将表数据复制到另一个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文