|
-
Jan 30th, 2001, 06:20 PM
#1
Thread Starter
New Member
How can I create a tree structure in asp useing a recursive function.
Ex. Database with three fields: ID, Parent_Id, Name
1 0 NFL
2 0 NBA
3 1 AFC
4 1 NFC
5 3 East
6 3 West
7 4 East
8 4 West
9 2 East
10 2 West
Output on Page in links.
NFL
- AFC
- East
- West
- NFC
- East
- West
NBA
- East
- West
The code should be dynamic and allow for any number of parent/child levels.
Thanks,
Kevin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|