OK - I've got a tree set up, I can get the contents of the selected item by "x=treeview.selecteditem" BUT I want to get the name of it's parent aswell!
HELP!
Printable View
OK - I've got a tree set up, I can get the contents of the selected item by "x=treeview.selecteditem" BUT I want to get the name of it's parent aswell!
HELP!
Try something like:
x = TreeView1.SelectedItem.Parent.Text