How to get index of all the nodes in a TreeView?

Total Post:30

Points:210

C#  .NET 
 1591  View(s)
Ratings:
Rate this:

I tried using:

TreeNode node = TreeView1.FindNode()

but it only finds root nodes. It is not able to find Child Nodes.

I want to get index of all the nodes and after that I want to use above code to find nodes by index and Check the Checkbox.

I tried using foreach to iterate through all the nodes, but I am not able to find child nodes and index.

I am using Visual Studio 2013.

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.