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




Reply With Quote