D
Darren
I'm trying to move a row from one table to another. I get the error message that
the row already belongs to another table even though I have removed it from the table.
I'm trying to avoid recreating the row for performance reasons.
DataTable dataTable1 = dataTable2.Clone();
dataTable1.Rows.Remove(row);
dataTable2.Rows.Add(row);
TIA
the row already belongs to another table even though I have removed it from the table.
I'm trying to avoid recreating the row for performance reasons.
DataTable dataTable1 = dataTable2.Clone();
dataTable1.Rows.Remove(row);
dataTable2.Rows.Add(row);
TIA