How to filter ComboBox values in winforms

后端 未结 3 2087
生来不讨喜
生来不讨喜 2021-01-22 17:59

In a .NET winforms application, how can I filter the data in my 2nd ComboBox with respect to the value selected in my 1st ComboBox?

3条回答
  •  没有蜡笔的小新
    2021-01-22 18:13

    very cryptic question - however, if you are using webforms, you may want to try using the AutoPostback property on the combobox. You can then capture the combobox onChange event and place your filtering code there.

提交回复
热议问题