M
Mark Phillips
Hi,
I have bound a combobox to a dataset. With the standard:
this.cboPhoneType.DataSource = dsPhones;
this.cboPhoneType.DisplayMember = "PhoneType.Description";
this.cboPhoneType.ValueMember = "PhoneType.PhoneTypeID";
this.cboPhoneType.DataBindings.Add("SelectedValue",
dsPhones, "PersonPhone.PhoneTypeID");
The bindings move correctly between records. I can add,
update and delete records. Except under 1 condition. If I
select the second item in the list,the application seems
to freeze. In this state I can click other buttons or
text boxes but no focus change seems to occur. If I
change the value in the combo box, the normal actions
resume.
Very strange. Does anyone know the source of this
problem?
Thanks,
Mark
I have bound a combobox to a dataset. With the standard:
this.cboPhoneType.DataSource = dsPhones;
this.cboPhoneType.DisplayMember = "PhoneType.Description";
this.cboPhoneType.ValueMember = "PhoneType.PhoneTypeID";
this.cboPhoneType.DataBindings.Add("SelectedValue",
dsPhones, "PersonPhone.PhoneTypeID");
The bindings move correctly between records. I can add,
update and delete records. Except under 1 condition. If I
select the second item in the list,the application seems
to freeze. In this state I can click other buttons or
text boxes but no focus change seems to occur. If I
change the value in the combo box, the normal actions
resume.
Very strange. Does anyone know the source of this
problem?
Thanks,
Mark