How to use LinQ Rows.Add but without overwrite data

Hello guys,

I’m building a process that for it case in a ‘Switch Case’, updates a column of a same datatable. It’s necessary to use LinQ, and for this update I’m using Rows.Add to add new data to the columns. But the problem is that I don’t want to overwrite the data of the column that already has been updated.

Do you know some way to make Rows.Add don’t overwrite data of a column? Or just add data to a specific column?

Hi @Leonardo_Andrade

In your modification step of column, add a if condition to check if the column already has data then dont do a manipulation for it