如何在列表视图中显示层次结构项? [英] How to display hierarchy items in listview?

查看:70
本文介绍了如何在列表视图中显示层次结构项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在listview(asp.net)中显示带有层次结构的子项?请帮帮我吧!

How to display subitems with hierarchies in listview (asp.net)? Please, help me!

推荐答案

列表视图不适用于分层数据:它适用于列表-即平面表.
请改用TreeView. MSDN [
A list view is not suitable for hierarchical data: it is for Lists - i.e. flat tables.
Use a TreeView instead. MSDN[^]


请尝试以下链接:
如何在列表视图中显示层次结构项

如果我误解了您的问题,请随时纠正我.希望以上信息对您有所帮助.如果您还有其他顾虑,请告诉我.

如果这对您真的很有帮助,那么请不要忘记投票并接受答案.:thumbsup:
Please try the following link:
How to display hierarchy items in listview

If i misunderstand your question, please feel free to correct me.I hope the above information will be helpful. If you have more concerns, please let me know.

If this would be really helpful to you then don''t forgot to Vote and Make Answer as Accepted.:thumbsup:


这篇关于如何在列表视图中显示层次结构项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆