i want to see if data in the datagridview has changed or not after i selected it from datatable
so i want to compare between datatable data and datagridview data
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Akkiraju IvaturiPosted Jan 20, 2013, 7:43 PM
Whenever you do any changes, flag the appropriate row as changed in the new column that you have added in the dataset in the session variable. After the changes commit the changes to dataset and again assign the dataset to the same session variable.
Whenever you want to find out if there are any changes, query the datatable in the session variable dataset to find if any of the row has the flag column set to some value.
Let me know if you have questions on the same.