Question : VB Bindingsource checking if records have been edited

I have a VB.NET application that uses a form with multiple bindingsources and when changes are made i use the UpdateAll feature (Me.TableAdapterManager.UpdateAll(DataSet)) which works fine.

However what I need to do is loop through the current dataset\bindingsource and find out which records have been updated, however I'm not really sure how to do this since I have multiple bindingsources which are linked together.

Answer : VB Bindingsource checking if records have been edited

The DataSet.GetChanges() method returns a dataset containing the tables and rows which have been modified.

http://msdn.microsoft.com/en-us/library/system.data.dataset.getchanges.aspx

Wayne
Random Solutions  
 
programming4us programming4us