How to filter ComboBox values in winforms

后端 未结 3 2098
生来不讨喜
生来不讨喜 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:25

    You just fill the second combobox in the selectedindexchanged event of the first combobox. Quite easy, I have done it lots of times.

提交回复
热议问题