如何将数据从数据库加载到树视图......? [英] how to load data from database to treeview ...?

查看:131
本文介绍了如何将数据从数据库加载到树视图......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在前端采用TreeView控件。我使用FirstName和LastName在数据库中创建一个表,正是我想要的是在TreeView控件中它只显示FirstName,当我们点击+时在FirstName的左侧显示LastName也...

Hi,
I take TreeView control in front end. I create one table in database with FirstName and LastName, Exactly what i want is in TreeView control it shows only FirstName and when we click "+" on leftside of FirstName it Show LastName also...

推荐答案

为什么不快速查看一些这些 [ ^ ]树视图快速入门?

它们可能会帮助您入门。一旦你尝试了一些东西,发布你遇到的任何问题,有人会帮助你。
Why dont you have a quick look at some of these[^]tree view quickstarts?
They might help you get started. Once you try something, post any issues your run into here and someone will help you.


http://www.codeproject.com/KB/aspnet/ParentChildTreeView.aspx [ ^ ]



请阅读本文,我将解决您的问题。
http://www.codeproject.com/KB/aspnet/ParentChildTreeView.aspx[^]

Please read this article that will me solve your issue.

您好,



尝试检查以下链接:

http://joshsmithonwpf.wordpress.com/2007/05/05/binding-a-treeview-to-a-dataset/ [ ^ ]

http://varjabedian.net /archive/2008/04/22/binding-asp.net-treeview-to-a-dataset-or-an-objectdatasource.aspx [ ^ ]
Hi,

try to check following links:
http://joshsmithonwpf.wordpress.com/2007/05/05/binding-a-treeview-to-a-dataset/[^]
http://varjabedian.net/archive/2008/04/22/binding-asp.net-treeview-to-a-dataset-or-an-objectdatasource.aspx[^]


这篇关于如何将数据从数据库加载到树视图......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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