Can't sort DataSourced ComboBox?

G

Guest

If I DataSource a ComboBox to a DataTable, and specify a column for
ValueMember and DisplayMember, everything comes out fine until I sort.

When I sort, it seems to sort the DisplayMembers separate from the
ValiueMembers, so for example ID 2 which used to map to "Widget" now might
map to something completely different after sorting.

I'm using .Net 1.1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top