Commit the Datagrid Changes

2 posts, 0 answers
  1. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 15 Dec 2009 Link to this post

    How do we commit the changes made to data in a datagrid when using a dataset as a datasource.?

    Ive tried using the tableapapter.update()
    the radgridview.commitchanges()
    methods but the changes are not persisted to the database.

    Do we need to use the Telereik ORM (which I have never looked at)..will ORM work with access MDB's?

    or should I work towards updating my access to sql and use entity models. (of which I have spent some time working so I'm familiar with it) ??
    then just use the and let entity framework handle the plumbing

    Suggestions, advice..Success/horror stories? 
  2. Nedyalko Nikolov
    Nedyalko Nikolov avatar
    871 posts

    Posted 17 Dec 2009 Link to this post

    Hi Will Ferguson,

    Unfortunately DataSet object do not implement INotifyCollectionChanged interface. You can use DataTable.DefaultView as an ItemsSource and everything should work fine.

    Best wishes,
    Nedyalko Nikolov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top