想在DataTable2中插入DataTable1中的Row,但是提示报错:This row already belongs to another table.
解决方法:
DataTable2.增加行(Row)
应改为
DataTable2.增加行(Row.ItemArray)
实际如下所示:
WPF数据表DataTable添加ROW报错:This row already belongs to another table
猜你喜欢
转载自blog.csdn.net/weixin_41883890/article/details/128980857
今日推荐
周排行