Follow @RoyOsherove on Twitter

Combobox binding trouble - with a solution

I recently had a very annoying “thing”. On my winfom app, I wanted to bind a combobox to a dataset. For some reason the combo would not show anything. The Dataset was perfect, I even bound it to a grid to see that it works, but the combo - Nada.

Turns out I had the Combobox.Sorted=True.   Switching that to false solved the whole thing. of course this is logical if you think that if I wanted the data sorted, I would have made the Dataview that was the data source sorted on a specific column.

Still - just a little thing you might want to remember if you ever get this *very* annoying behavior.

NUnit v2.1 RC1 released

Mike is handing out free advice. Grab it.