想在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
最新推荐文章于 2024-07-06 14:27:04 发布