我只用过数据库带有ID和UPID实现过,数据库循环,Tree递归就可以实现了
可是这里用两个递归马?好像很麻烦,嘻嘻,不会了。

解决方案 »

  1.   

    http://www.gotdotnet.com/team/webcontrols/treeview/tree2.aspxhttp://www.gotdotnet.com/team/webcontrols/treeview/tree.aspx
    还有这个
    http://www.freevbcode.com/ShowCode.asp?ID=652HOWTO: Populate a Treeview Control with an XML Filehttp://support.microsoft.com/default.aspx?scid=kb;EN-US;q244954
    http://msdn.microsoft.com/workshop/webcontrols/behaviors/library/treeview/treeview.asphttp://dev.csdn.net/article/28/28499.shtm
    http://dev.csdn.net/article/28/28502.shtmhttp://aspnet.4guysfromrolla.com/articles/051403-1.aspx