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