I have a TreeView
Control with set of nodes and child nodes. For example:
ROOT has A,B,C.
A has a1, a2, a3 and then that a1, a2 also contains some nodes like x1, x2, x3 and so on. Like this many subnodes are there. I know it is possible to use loops with a for loop.
I just want to access all the nodes in TreeView
control using one or two for loops.
Is there any algorithm for that or is there any other way?
One more question: Is it is possible to have the path of a tree node in an object or in a string using any library functions? For example:
string S = TreeView1.Nodes[i].Nodes[j].Nodes
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…