Posted on 2004-08-10
I have various controls on a tab page. After i run the fill from the dataadapter i get (DataRowState.Modified = true) fair enough i thought, perhaps somthing minor is getting changed during the databind. So i update the dataset and get (DataRowState.Modified = false). Thats good you would imagine the dataset is sitting pretty ready to detect any real changes made by the user.
However it seems that when i change tabs (via tab validate event) even without making a manual change to the dataset (via bound controls), the (DataRowState.Modified) ends up being true and hence the user is prompted to save changes.
Something anomolous is changing the rowstate!