Home Forums WinForms controls Xceed Grid for WinForms Problem with GridComboBox boxes. Reply To: Problem with GridComboBox boxes.

User (Old forums)
Member
Post count: 23064

Hey hellswraith,

I solved this problem awhile ago. It seems that there is only one way to attach your data source for the combo box to work correctly.

cboPhoneNumberTypes.DataSource = ds.Tables[“tblPhoneNumberTypes_ManageContact”];
cboPhoneNumberTypes.DisplayMember = “PhoneNumberType”;
cboPhoneNumberTypes.ValueMember = “PhoneNumberTypeId”;

I could only get it to work by assign the datasource via the table collection of a data set.

Hope this helps,

ACanadian

Imported from legacy forums. Posted by ACanadian (had 6892 views)