I would like to use the new Parallel.ForEach function to loop through a datatable and perform actions on each row. I am trying to convert the code below:
I had to modify Jon Skeet's answer to make it work.
Parallel.ForEach(dt.AsEnumerable(), drow => { drow.SomeCol = ""; });