它正确地显示了组合框的内容,但是每当数据为空时,它就不会返回为空,例如。选择客户1*在组合框中显示他的性别。女性)选择客户2*性别是女性WTF?** combobox2 1是客户姓名列表,combobox2是性别列表
private void BindControls() // function to bind the database tothe comboBo
我需要显示一个未选中的ComboBox值。 我有10个ComboBoxes,tag值从1到10。当我选择一个tag值为1的ComboBox时,我必须检查tag值为2的ComboBox中显示的内容。 选择tag值为5的ComboBox应该会得到tag值为6的ComboBox的值。string cboName; int c = 1;
var items = new Dictionary<int, string