树状分层实施 [英] Hierarchical treeview implementation

查看:112
本文介绍了树状分层实施的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是生成摆满了公司员工的SQL数据库表中的asp.net(C#)的分层树形的最佳方式?我永远不会知道在什么水平或雇员,我会在首发。任何链接或方向将是:AP preciated。

What is the best way to generate a hierarchical treeview in asp.net (C#) from a SQL database table filled with all of a company's employees? I will never know at what level or employee I will be starting at. Any links or directions would be appreciated.

推荐答案

查看修改preorder树遍历技术处:

Check out the Modified Preorder Tree Traversal technique at:

http://www.sitepoint.com/article/hierarchical-data-database /
http://en.wikipedia.org/wiki/Tree_traversal
http://www.intelligententerprise.com/001020/celko.jhtml?_requestid= 1266295
http://iamcam.word$p$pss.com/2006/03/17/storing-hierarchical-data-in-a-database-part-1/

这篇关于树状分层实施的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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