如何将没有结构的数据(一次所有行)从数据表复制到另一个 [英] How to copy only data (all rows at once) without structure from data table to another
本文介绍了如何将没有结构的数据(一次所有行)从数据表复制到另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
目前,clone()仅复制结构和copy()数据和结构。但我想一次性复制所有行而没有结构。
任何建议都会有所帮助。
谢谢
Harish
Harish
解决方案
你好,
- 如何涉及的数据很多,例如他们都需要从一个表到另一个表映射多少行,多少列以及哪些列?
- 是否要将列映射到所有相同类型,例如字符串到字符串,日期和日期等?
- 这是一个自动化过程还是与用户的某些交互?
- 正在使用哪个版本的.NET Framework?
Currently, clone() copies only structure and copy() both data and structure. But I want to copy all rows at once without structure.
Any suggestions will be helpful.
Thanks
Harish
Harish
解决方案
Hello,
- How much data is involved e.g. how many rows, how many columns and in regards to columns will they all need to map from table to table?
- Are columns to be mapped all the same type e.g. string to string, date to date etc?
- Is this to be an automated process or some interaction with a user?
- Which version of the .NET Framework is being used?
这篇关于如何将没有结构的数据(一次所有行)从数据表复制到另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文