如何使用C#在asp.net中创建动态Treeview [英] how to create dynamic treeview in asp.net using C#
本文介绍了如何使用C#在asp.net中创建动态Treeview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在为我的大学内部项目建立一个在线服装购物网站.我想在类似于菜单的首页上添加动态树状视图,以便每当管理员添加新类别时,都可以在首页上自动将其添加到此树状视图中.
I am making an online clothes shopping website for my inhouse project in college. i want to add a dynamic treeview on my home page that resembles menu, so that whenever admin adds new category that may be added to this treeview automatically on homepage.
推荐答案
从这里开始:
演练:在TreeView控件中显示分层数据 [ ASP.NET中的分层数据绑定 [将层次结构数据结构动态绑定到Treeview控件 [ ^ ]
Start here:
Walkthrough: Displaying Hierarchical Data in a TreeView Control[^]
Hierarchical Data Binding in ASP.NET[^]
Dynamic Binding Of Hierarchy Data Structure To Treeview Control[^]
这篇关于如何使用C#在asp.net中创建动态Treeview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文