WPF data table DataTable adds ROW error: This row already belongs to another table

I want to insert the Row in DataTable1 in DataTable2, but it prompts an error: This row already belongs to another table. Solution:
DataTable2
. Add row (Row)
should be changed to
DataTable2. Add row (Row.ItemArray)
is actually as follows:
insert image description here

Guess you like

Origin blog.csdn.net/weixin_41883890/article/details/128980857