建立一个树状结构 [英] building a treeview structure

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

问题描述

大家好
我有一个问题,即如何构建树视图结构本身,这有点像算法问题,而不是语法问题,如下所示:
我的数据库包含一个表:jobcode(int),jobname(string),parent(int)
注意:父级是工作代码,例如自我加入".
我想如何构建此树状视图的任何帮助人员??????????? .com/search.aspx?q = treeview& doctypeid = 1%3b2%3b3>文章 [ 解决方案

There are a number of articles[^] here about the TreeView each of which should contain information about how to get the data - read through them until you find one that fits your problem or sets you off in the right direction.


这篇关于建立一个树状结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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