Binary tree code- help

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
 
K

Kevin Spencer

You're very welcome (Golly, that was easy!).

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.
 
L

Lara

there is nothing in your message



Kevin Spencer said:
You're very welcome (Golly, that was easy!).

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Everybody picks their nose,
But some people are better at hiding it.
 
G

Guest

why don't u try using xml....form xml doc....and then do whatever u want with
this..
 

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

Similar Threads


Members online

Forum statistics

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

Latest Threads

Top