Unanswered Need Better BindingSource Change Support

  • Monday, August 29, 2005 7:07 PM
     
     
    This has been alluded to elsewhere but I would like to make the query/suggestion specific.

    There appears to be a huge hole in the logic for detecting changes to a BindingSource object. While BindingSource seems like a step in the right direction, the fact that it (seemingly) lacks the support necessary to detect and address users changes is a major drawback.

    For instance, from what I can tell, the recommended strategy for detecting changes is to listen for ListChanged events. However, in the case of a deleted row event, you no longer have the row that was deleted. How am I supposed to propagate this change back to my persistence layer? In another thread, it seems like the suggestion is to effectively implement all the functionality of IBindingList (shudder) to handle changes.

    This seems like such an obvious need - is there some way to do this with BindingSource that I'm just missing?

All Replies

  • Tuesday, August 30, 2005 10:28 AM
     
     
    Moved the thread to the DataBinding forum so you get better replies.

    Regards,
    Saurabh Nandu
    www.MasterCSharp.com
    www.AksTech.com