Hello,

I have a DataGrid(View) and a DataTable. The DataTable is displayed in the
DataGridView:

dataGridView.Da taSource = theTable;

The user is allowed to select some rows and then the following
snippet updates some values in the selected rows:

foreach (DataGridViewRo w row in dataGridView.Se lectedRows)
{
row.Cells["theColumnName1 "].Value = someCalculatedV alue1;...