This code is not usefull for me because
(From r In dtData.AsEnumerable
let ra = r.ItemArray.Select(Function (x) x.ToString.Trim.Replace(" ",“NA”)).toArray()
Select dtCorrected.Rows.Add(ra)).CopyToDataTable()
replace any spaces
in my case i need to replace a string with other string
Is the Column Value to be Updated be the same for all rows in the Datatable?
If So, You Could Delete the Column where you want to Update and then Add the Column Again using Add Data Column Activity with the str_society as the Default value.
This will update all rows of the Column with the same value.
If this cannot be done, For Each Row Should be better off or a Invoke Code to update the require column could be used.