This is a migrated thread and some comments may be shown as answers.

Commit the Datagrid Changes

1 Answer 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Will Ferguson
Top achievements
Rank 1
Will Ferguson asked on 16 Dec 2009, 05:39 AM
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()
and
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 context.save() and let entity framework handle the plumbing

Suggestions, advice..Success/horror stories? 

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 17 Dec 2009, 12:45 PM
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.
Tags
GridView
Asked by
Will Ferguson
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or