树视图和列表视图连接 [英] treeview and listview connection

查看:74
本文介绍了树视图和列表视图连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户在树视图中选择一个条目时如何从数据库中获取数据到列表视图?

how to fetch data from database to listview when a user selects an entry in treeview??

推荐答案

您需要响应 AfterSelect 树视图上的事件,然后启动一个过程,该过程检索数据并将其绑定到listview控件.继续创造.如果您遇到特定的代码问题,请提出这些问题,我们将很高兴为您提供帮助.
干杯.
You need to respond to the AfterSelect event on the treeview and then kick off a process that retrieves and binds data to the listview control. Go forth and create. When you have specific code issues, ask those questions and we would be thrilled to help you out.
Cheers.


这篇关于树视图和列表视图连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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