Hi,
I have treeview with parents and childs
When i click on child node,
i want to know their parent node
Thanks,
Rama krishna
How to know the parent node of a treeview?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jean PaulRank #32 · 38.5K reputationPosted Nov 22, 2010, 10:21 PM EST
Eg: treeView1.Nodes[1].Parent
(you may need to check null before operating on Parent)