How do I tell a DataGridView to perform 'CRUD' on Business Object Collection
Posted on 2009-04-06
I have a DataGridView that is bound to a collection of custom business objects (Product) via a BindingSource. So far I have been able to display the list of the business objects, but what I don't know how to do is to write the code that would for instance insert a new record into the collection from the DGV or update an edited row so that the changes are persisted in the BO's underlying database. Does anyone have any thoughts on how I might get this done?