Hi I want to be able to add a node, under a spacific node. may be by path or index?
I have a table in a typed dataset in a win app, and need to loop through each row. I have an ID field and a ParentID field. I want it to be able to have infanate child nodes. So the only way I can see of doing this is when adding a node look to see if there are child nodes then add them. |Just not sure how to go about doing this.
This is what I have so far:
For i = 0 To Me.DataSet.sections.Rows.Count - 1
If Me.ActinicDataSet.Catalog_section.Rows(i).Item("ParentID") = 0 Then
'Need to add child nodes here.