简体   繁体   English

最佳显示/编辑子类别(使用Tree ASP.NET或VB.NET winform控件?)

[英]Best display / editing of subcategories (use Tree ASP.NET or VB.NET winform control?)

I've got a categories table, and sub-category tables 3 levels deep (in the database they're called Categories, SubCategories, SubSubCategories, and SubSubSubCategories). 我有一个类别表,和三个深层次的子类别表(在数据库中,它们称为“类别”,“子类别”,“子子类别”和“子子子类别”)。

On the presentation side, I am curious what the best way is to manage those. 在演示方面,我很好奇什么是最好的管理方式。 The categories form a tree/hierarchy structure, so a tree control of some kind sounds useful. 类别形成树/层次结构,因此某种树控件听起来很有用。 Drag-and-drop functionality would be nice. 拖放功能会很好。 This can be done in a VB.NET 3.5 web application (preferred) or VB.NET Windows application. 这可以在VB.NET 3.5 Web应用程序(首选)或VB.NET Windows应用程序中完成。

Any thoughts on the best way to handle this? 对解决此问题的最佳方法有何想法? It looks like the TreeView doesn't support drag-and-drop. 看起来TreeView不支持拖放。 Thanks! 谢谢!

I decided to use the TreeView control for standard VB.NET applications instead of the WPF TreeView. 我决定将TreeView控件用于标准VB.NET应用程序,而不是WPF TreeView。 If I had more time, the WPF TreeView seems much more powerful. 如果我有更多时间,WPF TreeView似乎更强大。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM