aamir55
December 20th, 2008, 12:27 AM
i want to count to number of nodes under each root node so i m doing so
Dim n As Integer
For Each RootNode As TreeNode In treeAlbum.Nodes
n = RootNode.Nodes.Count
Next
MessageBox.Show("nodes " & n)
it is counting number of nodes but not exact,some time it is showing more nodes and some time it is showing less time.
plz help me
------------------------------------------------
Dim n As Integer
For Each RootNode As TreeNode In treeAlbum.Nodes
n = RootNode.Nodes.Count
Next
MessageBox.Show("nodes " & n)
it is counting number of nodes but not exact,some time it is showing more nodes and some time it is showing less time.
plz help me
------------------------------------------------