listBox1.DataSource = objDt; // object of DataTable class or any other collection listBox1.DisplayMember = "fieldName"; //column Name which contain Text to Display listBox1.ValueMember = "valueName"; // column name which contains Value to bind
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)