G
Guest
I am populating a treeview in a smart device application with data from an XML file. I’m doing so through a dataset, using the Dataset.ReadXML method. I have done this successfully, but am now having trouble updating my XML file with any changes that I have made. To give you an example, if I click on a node in my treeview, a new screen pops up with that node’s attributes. I want to be able to edit those attributes and then save my changes back into the XML file. I know that this can easily be done with a bound control like a listview and textbox, and then simply calling the Dataset.WriteXML method, but the treeview isn’t as easily data bound.
Does anyone have any idea how this can be done, and if so, please can you help me with some example code.
Does anyone have any idea how this can be done, and if so, please can you help me with some example code.