Hi to everyone,
I need some help about using treeview control.
I have a table (A) with 2 columns : ParentID and ChildID.
The names of ParentID and ChildID are saved in another table (UsersProperties table).
I want to fill the treeview with records from first table(A), so I can see in the first level the Parents Names. When expanding each node I want to see the childs (names) of selected parent, and so for each level.
Each parent can be a child and each child can be a perent.
each parent can have many childrens.
I need to store to fields for each node: the ID number (from table A ) and the Name (this will be the label) from UsersProperties.
Thanks,
Richard
I need some help about using treeview control.
I have a table (A) with 2 columns : ParentID and ChildID.
The names of ParentID and ChildID are saved in another table (UsersProperties table).
I want to fill the treeview with records from first table(A), so I can see in the first level the Parents Names. When expanding each node I want to see the childs (names) of selected parent, and so for each level.
Each parent can be a child and each child can be a perent.
each parent can have many childrens.
I need to store to fields for each node: the ID number (from table A ) and the Name (this will be the label) from UsersProperties.
Thanks,
Richard