Hello everyone,
as will be seen from the following massage I am new to C#. I have dataGrid that reads data from mine database. Also, I can update database from dataGrid, but I want to update it in more ways. So, I have the following code just to see something, but to mine big surprise it does not give me the results that I expect:
dataSet1.Tables["Example"].Rows[4].ItemArray[4]=33;
MessageBox.Show(dataSet1.Tables["Example"].Rows[4].ItemArray[4].ToString());
MessageBox shows me the old value (the value is not changed). Why is that?
Thanks in advance.