I
IdleBrain
Hi,
I am trying to modify the data that I loaded from a datasource by
doing:
myDataRow.Table.Rows.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.BeginEdit();
myDataRow.Table.Rows.ItemArray[2] = 1;
myDataRow.Table.Rows.EndEdit();
But nothing works!!
Does any one know what I am doing wrong?
I am trying to modify the data that I loaded from a datasource by
doing:
myDataRow.Table.Rows.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.BeginEdit();
myDataRow.Table.Rows.ItemArray[2] = 1;
myDataRow.Table.Rows.EndEdit();
But nothing works!!
Does any one know what I am doing wrong?