Hi- I haven't really used the TreeView before, and I am hoping someone can answer this question.
Let's suppose I have a treeview called "TreeView1"
Let's also suppose that I want to add some items to it in my code.
so here is what i am thinking...
Dim TreeItem as New TreeNode
TreeItem.Text = "My Text"
TreeItem.Value = "123456"
TreeView1.Nodes.Add(TreeItem)
So when I load the web form, it displays My Text in the TreeView... however, it shows up as a "child" item!
How do I make it a root item?
Thanks!