I\'v got some problem, I use DataTable to store my data in dataGridView. Data was inputed like this:
dt = new DataTable(); dt.Columns.Add(\"ID\", typeof(int)
dt.Rows[1].ItemArray gives you a copy of item arrays. When you modify it, you're not modifying the original.
dt.Rows[1].ItemArray
You can simply do this:
dt.Rows[1][3] = "Value";
ItemArray property is used when you want to modify all row values.
ex.:
dt.Rows[1].ItemArray = newItemArray;