All the examples I've seen showing how to populate a combobox using the
DataSource property and an ArrayList show the ArrayList object
containing objects with at least two properties. I want to create an
ArrayList that contains only rows of string data and want to assign
this to the DataSource but I can't figure out what to set the
ValueMember or DisplayMember to. Example
ArrayList myData = new ArrayList();
myData.Add("abc");
myData.Add("def");
ComboBox combo = new ComboBox();
combo.DataSource = myData;
combo.ValueMember = ???
combo.DisplayMember = ???