是否可以在多个列上使用 BindingSource.find ?
是否可以在多个列上使用 BindingSource.find ?
我有一个树视图和一个组合框。 组合框提供用于构建树视图的 ID。 当我在树视图中选择一个节点时,我想显示组合框中 ID 的详细信息/子信息以及树节点中的标签/ID 值。
做这个的最好方式是什么? 我试图使用绑定到绑定源的控件。 我想更改绑定源的位置,但我需要在绑定源中搜索组合中的值以及我刚刚选择的树节点??????
Is it possible to use BindingSource.find on multple columns?
I have a treeview and a combobox. The combobox provides the ID that is used to build the treeview. When I select a node in the tree view I want to display the details/child information for the ID from the combobox and the tag/ID value from the tree Node.
What is the best way to do this? I was trying to use controls bound to a binding source. I want to change the position of the binding source, but I need to search the binding source for the value from the combo as well as the tree node I just selected?????
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道这是否是完成我想要完成的任务的最佳方法,但 BindingSource.Filter 方法非常适合我的场景。
I don't know if it is the best way to do what I was trying to accomplish, but BindingSource.Filter method works great for my scenario.