I have a DataRow, let’s name it DR1 with some data
I create a new Data Row variable DR2
I copy the data of DR1 in DR2 (Assign : DR2 = DR1)
My problem is when I remove some data in DR2, there are also removed in DR1.
How could I create a separate copy of DR1?
@Shyam_Sridhar
welcome to the forum
a more save way is:
DR2 = yourDataTableVar.NewRow
DR2.itemArray = DR1.ItemArray
1 Like
Welcome to the community. You should follow the OP’s direction.