I'm looking for some advice on the most efficient way of changing the cell value of each row within a DataGridView. I think that there could possibly be different ways of achieving this but I don't want to start coding it without some advice and end up going down the wrong route.
The value would always be in the same column, would it be possible to loop through each row in the DGV using a foreach loop, read the data within the row on the correct column and simply use something like row[columnIndex] = "x value";
Or would I be better off taking all of the DGV data and putting it into a Datatable, updating the data and then reapplying it to the DataGridView.
Thanks