Hey guys,
OK, is there something different between the combo box and list box that differs in the way you bind things to them?
Here's my code I use for both:
With SkillCategoryDropDown
.DataSource = m_sCat.SelectSkillCategoryList
.DisplayMember = "Description"
.ValueMember = "ID"
End With
Both my combo box (drop down list) and list box have the same datasource and hte same display member and the same value member. Totally identical
But when I bind to the combo box, I get an error saying "Cast from type DataTypeView cannot be cast to type Integer", but it doesn't give me this error for the list box.
any thoughts?
Thanks,
D'Arcy
OK, is there something different between the combo box and list box that differs in the way you bind things to them?
Here's my code I use for both:
With SkillCategoryDropDown
.DataSource = m_sCat.SelectSkillCategoryList
.DisplayMember = "Description"
.ValueMember = "ID"
End With
Both my combo box (drop down list) and list box have the same datasource and hte same display member and the same value member. Totally identical
But when I bind to the combo box, I get an error saying "Cast from type DataTypeView cannot be cast to type Integer", but it doesn't give me this error for the list box.
any thoughts?
Thanks,
D'Arcy