data in comboBox

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
Hrvoje,

You cannot set a dataset in a combobox.
However one of the tables is very eays

MyCombobox.DataSource = ds.Tables["mytable"];
MyCombobox.DisplayMember = "myDisplayField";
MyCombobox.ValueMember = "myValueField";

I hope this helps?

Cor
 
Back
Top