I've got a ListView which is populated by a DataTable obtained from an XML data source.
The application is being designed to allow the user to scroll through a list of items in the ListView, and display data in three TextBoxes that correspond with the selected item.
Scrolling through the ListView and displaying the correct data in the TextBoxes is fine, however, I want the user to be able to edit the text boxes, press Save, and update the correct record.
What I'm finding is that it ALWAYS updates the data associated with the first item in the ListView when it writes the data back to the XML file.
Could anybody tell me what am I missing?