combobox datasource

  • Thread starter Thread starter Alejandro González
  • Start date Start date
A

Alejandro González

Hi

I have a combobox binded to a Datatable
something like

combo.DataSource = dt.DefaultView;
combo.DisplayMember = "descField";
combo.ValueMember = "valueField";

it works fine.
Now if I update the datatable I want the combo to reflect those changes.

I'm trying to rebind the combo doing the same 3 lines but it doesn't work,
(the second time the is run then it does the 1st update)

Any help?
thanks
 
Back
Top