Anyone know how to add Child Nodes into a TreeNode in the code?
Something like:
But that adds a whole new root, I want a child node. Help, thanks.
Something like:
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
With TreeView1.Nodes
.Add(TextBox1.Text)
End With
End Sub
But that adds a whole new root, I want a child node. Help, thanks.