Hi, I have a database table which stores the information on the Node relationship.
In the table tblNode, I have :
tlbNodeRelation
NodeID - (The ID of the node)
ParentID - (The ID of the Parent Node)
Position - (The position this Node is in under the Parent Node. Either Left or Right)
then in another table where we store the information of the Node,
tblNodeData
NodeID
Username
Email
Now I need to draw out a binary tree, it has to be dynamic, as the Node might be added / deleted.
And I wish to create a link to the user profile when a person click on a certain node. Something visual like this.
[img]http://img132.imageshack.us/img132/5020/binarytreemt6.jpg[/img]
When i click each of the node, it will go to the profile page of the user.
I have no idea where to start this one, maybe a nested repeater ??
Thanks for all inputs and comments.