Given a Combo box [Cb] and Dataset [ds].
Dataset [ds] is a set of distinct values from a column in my SQL Table, I want to display this list in the combo box. Mimicking my methods in VB6 I did the following:
Cb.DataSource = ds;
However instead of displaying the list of Customers [which it does in VB6] I get the following as the first and only value of the combo box:
System.Data.DataViewManagerListItemTypeDescriptor
Anyclues?
Dataset [ds] is a set of distinct values from a column in my SQL Table, I want to display this list in the combo box. Mimicking my methods in VB6 I did the following:
Cb.DataSource = ds;
However instead of displaying the list of Customers [which it does in VB6] I get the following as the first and only value of the combo box:
System.Data.DataViewManagerListItemTypeDescriptor
Anyclues?