0
我有一个由'/'分隔的数据层次结构路径,当前在SQL Server 2008表中。如何在ASP.NET C#应用程序中将此路径显示为TreeView。ASP.NET Treeview从路径
这里是什么样的表看起来像一个例子:
Parent1/ Parent2/ Parent2/Child1 Parent1/Child1 Parent1/Child1/GrandChild1 Parent1/Child2
我想以显示它是这样的:
+ Parent1 - Child1 - GrandChild1 - Child2 + Parent2 - Child1
任何帮助,将不胜感激,谢谢!