I have worked a bit on this, and it seems that the only way to sort the data combo box is to sort the data source itself (DataTable in the DataSet in this case).
If so, then the question will be the best way to sort a DataTable?
List binding is specified in the constructor initialization using
myCombo.DataSource = this.typedDataSet; myCombo.DataMember = "Table1"; myCombo.DisplayMember = "ColumnB"; myCombo.ValueMember = "ColumnA";
I tried setting
this.typedDataSet.Table1.DefaultView.Sort = "ColumnB DESC";
But that makes no difference, I have tried setting this in the control constructor, before and after a typedDataSet.Merge call.
source share