如何将组合框选择的值与另一个组合框上的选定值绑定? [英] How bind combobox selected value to selected value on onother combobox?
本文介绍了如何将组合框选择的值与另一个组合框上的选定值绑定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个组合框,它填补了更换学校的日期。另一个组合框是负载类型的学校。我想把选定的学校与更改日期绑定。
我该怎么办?
I have one combobox that its fill with dates of changing schools. On another combobox are load types of schools. I'd like bind selected school with dates of changes.
How can I do it?
推荐答案
绑定第二个组合框的数据第一个组合框的'OnSelectedIndexChange'事件
Bind the data of second combobox on the 'OnSelectedIndexChange' event of first combo box
这篇关于如何将组合框选择的值与另一个组合框上的选定值绑定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文