I'm trying to set the datasource of a combobox to an arraylist. The arraylist contains records. The combobox recognizes the number of rows, but is unable to recognize the elements of the record. If you look in the locals window, the datasource for the combobox does know that the source is an array list, and under each index, it does know the name and value of each element, but the box only displays the object name in each row. I've been playing around with CurrencyManager and BindingContext but can not find any good examples of how to use them in this situation.
If anyone can point me in the right direction I would appreciate it.
Code snippet:
Oracle.DataAccess.Client.OracleDataReader dr = cmd.ExecuteReader();
ScheduledJob sj =
new ScheduledJob();ArrayList il = sj.GetListOfScheduledJobs(dr);
comboBox1.set_DataSource(il);
comboBox1.set_DisplayMember("jobId");
comboBox1.set_DisplayMember("JobTime");

Setting the datasource of a combobox to an arraylist
Narula
Here is the sample which works fine for me.