如何将三个表绑定到Treeview,Treeview应该在下拉列表中? [英] How to bind three tables to the Treeview and that Treeview should be inside the Dropdown List?

查看:47
本文介绍了如何将三个表绑定到Treeview,Treeview应该在下拉列表中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库中有3个表,其中有子表的外键。



- >父(表1)



- > child1(表2)



- > subchild1(表3)



- > subchild2(表3)







- > child2(表2)



- > subchild3(表3)



- > subchild4(表3)



如何将这3个表绑定到树视图?



最后这个树视图应该在下拉列表中。当我点击下拉列表时,应显示以上格式。



先谢谢........

I have 3 tables in my database having foreign keys to child tables.

->Parent(Table1)

->child1(Table2)

->subchild1(Table3)

->subchild2 (Table3)



->child2 (Table2)

->subchild3(Table3)

->subchild4 (Table3)

How to bind these 3 tables to Tree View?

And finally This Tree view should be inside the Dropdown List. When I click on the dropdown list, The above format should display.

Thanks in Advance........

推荐答案

http://stackoverflow.com/questions/776575/ treeview-inside-dropdown-in-asp-net [ ^ ]


这篇关于如何将三个表绑定到Treeview,Treeview应该在下拉列表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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