I am trying to add child nodes to a Treeview list, I have the parent node and this is the code I have to add the child node:
parentNode = New TreeNode()
parentNode.Text = Me.headerSelect.Text.ToString
parentNode.Nodes.Add(Me.fieldName.Text.ToString)
It doesn't do anything - no errors, no adding, nothing.. Also if it is possible, could I store an array of values in a treeview? I am writing a program that will create a database and I need to store the field name, data type, and default value all together as the user inputs them, and this would be easiest in an array - so if I can store that kind of information in a treeview I would appreciate a point in the right direction.