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

Data Edited in XML

1 Answer 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 17 Sep 2010, 06:08 PM
Hello,
Currently I have a gridview populated with Data from local database(XML)

One of the features is to edit /add and save data to a database.
 Is is possible to edit or add data to gridview and it will save it to the current xml file?

I hope that makes sense..
Regards,
Rick Mueller

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 22 Sep 2010, 08:35 AM
Hi Rick Mueller,

While this can not be done juts out-of-the-box, it should be easy to achieve it with a little coding. What you should do is basically read the data from the XML and load it into an in-memory collection, then modify data in this collection by using the grid, and when you are done write the collection back to the XML file.

This help topic should get you started.

Please, take a look at this technology. It should give the basic ideas.

Best wishes,
Ross
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or