Hi all,
Pls. someone tell me how to put into array all the nodes of treeview


Example

Root
Node1
Node3
Node4
Node2
Node5
Node6


Output Array will be like this
Root Node1
Root Node2
Root Node3
Root Node4
Root Node5
Root Node6
Node1 Node3
Node1 Node4
and so on




Note that
Node1 has Node3 and Node4 only because that is only his children.


Thanks