create a Tree view

L

Lara

Hi,
I am very new to C#.net. Right now i want to develope a binary tree for my
current project, The sp returns ParentID, SiblingID, Position(1/0 : 1-left,
0-right) and level (0 for root). From these i need to create a binary tree.

for eg :
1
2 3
4 5 6



The sp returns


1 2 1 0
1 3 0 0

2 4 1 1
2 5 0 1

3 6 1 0


Thanking in advance
Lara
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top