BindingSource.EndEdit() and DataTable.GetChanges()

LeoVBNET

Member
Joined
Apr 9, 2013
Messages
5
Programming Experience
5-10
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
 
Back
Top