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.ItemArray[j]=33 ;
MessageBox.Show(dataSet1.Tables["Example"].Rows .ItemArray[j].ToString());
MessageBox shows me the old value (the value is not changed). Why is that?
Thanks in advance.