Im using c#.net windows form application. I have a xml file. I have loaded the node names of that xml file into a treeview. Now my task is , when I select a particular node from the treview, I should be able to display its attributes in a combo box. Please help.
When populating each XML node in the treeview, store the actual XPATH as a tag of that treeview node. On click, pick up the tag value, query the XmlDocument object and display your attributes.
Or maybe saeed is lazy to create it by himself.
@Raj - you don't have to store XPATH as a tag, you can store the node itself there.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.