(eg) folder id name parent id
1 doc 0
2 files 1
3 progarm 2
4 struct 0
5 name 4

how to display this structure in c# or sql...pls any one help me