Hi,
I am trying to modify the data that I loaded from a datasource by
doing:
myDataRow.Table.Rows[i].ItemArray[2] = 1;
But I could not figure out why the value is not being changed?
I tried different options like:
myDataRow.Table.Columns[2].ReadOnly = false;
// Data Grid Viewer
dgvViewer.ReadOnly = false;
myDataRow.Table.Rows[i].BeginEdit();
myDataRow.Table.Rows[i].ItemArray[2] = 1;
myDataRow.Table.Rows[i].EndEdit();
But nothing works!!
Does any one know what I am doing wrong?