DataGridView and Binding List Event.
Posted
by bearrito
on Stack Overflow
See other posts from Stack Overflow
or by bearrito
Published on 2010-06-05T16:54:36Z
Indexed on
2010/06/05
17:02 UTC
Read the original article
Hit count: 303
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?
© Stack Overflow or respective owner