Hello,
Hope someone can help me with what is wrong. I've been trying to resolve all day. I'm just trying to load a dropdown in a context menu with data from a data table. I've confirmed the datatable is populated with the correct data. Here's the code I'm trying to use to populate the dropdown but the dropdown is empty.
Thanks in advance.
Hope someone can help me with what is wrong. I've been trying to resolve all day. I'm just trying to load a dropdown in a context menu with data from a data table. I've confirmed the datatable is populated with the correct data. Here's the code I'm trying to use to populate the dropdown but the dropdown is empty.
Thanks in advance.
Code:
With ToolStripComboBox2
.ComboBox.DataSource = dt
.ComboBox.DisplayMember = "AnalystName"
.ComboBox.ValueMember = "Analyst_ID"
End With