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.
A:
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.
Raj
2010-05-14 08:48:56
A:
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.
Karel Frajtak
2010-05-14 08:55:07
@Karel - Indeed, thanks.
Raj
2010-05-15 21:46:27