I am using a databinding with a combobx to show my objects in a drop down list. The combo box needs to sort the data within it automatically in alphabetical order after databinding. How can this be done? I would like the logic to be generic and applied to the combo box directly, and not on the objects being bound to it.
Share
A databound combobox cannot be sorted directly. You have to sort the underlying datasource. This is from MSDN:
So you might be able to use a SortedList as a binding source.