Because this is so damn hard to find when you need it:
foreach (DataRowView drv in listBox1.Items) { string _display = (string)drv[listBox1.DisplayMember]; int _value = (int)drv[listBox1.ValueMember]; }
Powered by: Copyright © Mark Daunt