Click here to Skip to main content
15,888,195 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello
I have some controls (textboxs,picbox,checkbox) bind to a BindingSource. And this BindingSource.DataSource to a DataTable.

I need to know if some field has been modified in order to ask for save changes.

The problem is that when I use BindingSource.EndEdit(), the DataTable.GetChanges() always return TRUE even if none of the controls has been modified.

Any idea of what I'm doing wrong?

Thanks

What I have tried:

I have tried to use BindingSource.EndEdit() but it always makes DataTable.GetChanges() to get a row change.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900