I need a treeview structure like
Accounts-->Kmart-->California-->Stockton CA 95207
-->Oakdale, CA 95361
from this table
SCID SCEID SCElement ParentID Parent SalesChannelName
67 27 Account 0 Root Kmart
71 28 State 67 KMart California
72 29 Store 71 California Stockton CA 95207
74 29 Store 71 California Oakdale, CA 95361
i tried a sample from this link http://aspalliance.com/732. It is working fine.But i dont know how to (write a query to) form a tree structure from this table in that sample code..Any suggestion?