What is the proper way to load a ListBox in C# .NET 2.0 Winforms?
ListBox
I thought I could just bind it to a DataTable. No such luck. I though
DataTable
You can bind a DataTable directly...
listbox.ValueMember = "your_id_field"; listbox.DisplayMember = "your_display_field"; listbox.DataSource = dataTable;