将两个表,同一列合并为空值

时间:2016-04-28 08:06:37

标签: c# .net

两个具有相同列的数据表,无法合并表。

enter image description here

Getting error message - 
**DataExceptionion was caught**
<target>.EmployeeID and <source>.EmployeeID have conflicting properties: DataType property mismatch.

代码:

dttemp = table1.Copy();
dttemp.Merge(table2);

如何合并两个表(空值)

0 个答案:

没有答案
相关问题