DataGridView and Binding List Event.
- by bearrito
I have a datagridview with a datasource of type binding list.
I understand that when the datagridview changed this will update the items in the binding list.
I also know that if the objects in the bindinglist implement Inotifypropertychanged
then if the obects are changed outside the grid then the objects will notify the bindlist which will then notify the datagrid
My question is:
If the datagrid view changing an object, I want the bindinglist or changed object to fire an event that allows me to pass the object to a WCF service that will persist the object on the data access layer side e.g. Service.Save(ChangedObject)
How would I go about doing this?