I am trying to populate a listbox by retrieving data from a database through sql. I have asked this question earlier but i was using a different configuration and the one i\
Set the DisplayMember property after DataSource binding:
DisplayMember
DataSource
ListBox1.DataSource = dt ListBox1.DisplayMember="name"