Here is sample code. please try this.
class MyClass
{
public string Data { get; set; }
public string Value { get; set; }
}
private void BindData()
{
ComboBox yourComboBox = new ComboBox();
List<MyClass> obj = new List<MyClass>();
for (int i = 0; i < 5; i++)
{
obj.Add(new MyClass() { Data = "Data" + i, Value = (i * 5).ToString() });
}
yourComboBox.DisplayMember = "Data";
yourComboBox.ValueMember = "Value";
yourComboBox.DataSource = obj;
}
it is working fine i have tested...
if any confusion let me know.