Hi
I have a dataset which consists of a datatable.
I make changes to the data in the datatable, via the use of a bound textbox.
When debugging, I output the value of:
dataset.Tables[0].Rows[0]["Name"].ToString()
and this reflects the correct value that I want. However, the dataadapter
does not seem to recognise the change, and doesn't update the underlying
table back to the DB.
However, if I specifically set the value of the DB, via
dataset.Tables[0].Rows[0]["Name"]="aaaaa";
then all seems to work fine.....
Any ideas??
Thanks
|