使用asp.net c#递归地建立树视图 [英] Buiding treeview recursively using asp.net c#
问题描述
HI全部,
我被分配了一项具有挑战性的任务,我需要创建一个树视图并使用递归方法填充它,就像基于来自数据的组织结构图一样。数据库表和表格如下,超过100条记录:
I was assigned a challenging task where i need to create a treeview and populate it using recursive method just like an Org chart based on the data from the database table and the table is like below with over 100 records :
表名:EmployeeHeirarchy
EID   ; NAME     reportingmanagerID
1
 
Test01 null
2
  Test001 1
3
  Test002 1
4
  Test02
3
5
  Test001 4
Table Name: EmployeeHeirarchy
EID NAME reportingmanagerID
1
Test01 null
2
Test001 1
3
Test002 1
4
Test02
3
5
Test001 4
所以我恳请你帮助我使用代码和我刚接触ASP.NET的代码
So I kindly request you to help me on the same with code as iam new to ASP.NET
ram
推荐答案
这是你应该发布的地方。
It's where you should post.
http://forums.asp.net/
http://forums.asp.net/
这篇关于使用asp.net c#递归地建立树视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!