ASP.net中的二进制MLM重演 [英] Binary MLM Repesentation in ASP.net

查看:61
本文介绍了ASP.net中的二进制MLM重演的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在数据库表中以二进制树的格式表示我的数据,如下:



I wana represent my data from database table in the format of a binary tree like as Under:

                            A


            B                             C


    D               E                F           G



H      I       J         K       L      M    N      O





我的表中的数据是这样的:







Data in My Table is Like This :


Uid         ParentId
a           ----
b           a
c           a
d           b
e           b
f           c
g           c
h           d
i           d
j           e
k           e
l           f
m           f
n           g
o           g


and So On............









请给我一个以上图形格式表示数据的想法。





先谢谢。





Please give me an Idea to represent the Data in The Above Graphical format.


Thanks in Advance.

推荐答案

http://www.rajneeshverma.com/post/2011/11/09/Binary-Tree-Diagram-in-ASPNET.aspx [ ^ ]



谢谢!
http://www.rajneeshverma.com/post/2011/11/09/Binary-Tree-Diagram-in-ASPNET.aspx[^]

Thanks!!


参考YASHWANT kANETKAR的让我们C一书c为这棵树提供语言代码
refer the "Let us C" Book of YASHWANT kANETKAR IN WHICH c Language code is given for this tree


这篇关于ASP.net中的二进制MLM重演的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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