Problem using datasource with a combobox in a ToolstripDropdownButton

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CNSZU
    New Member
    • Feb 2010
    • 1

    Problem using datasource with a combobox in a ToolstripDropdownButton

    Hello all,

    Does anyone know how to attach a datasource to a combobox that resides in a toolstripdropdo wnbutton?

    Code:
    With fMain.ToolStripComboBox1.ComboBox
                .DataSource = dv
                .DisplayMember = "City"
                .ValueMember = "ID"
    End With
    I have confirmed that this code works with a combobox in a toolstrip, however.
    Is this a bug in .Net? Can anyone else confirm this?
Working...