Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42220

VS 2008 Populate from Database ContextMenu Dropdown

$
0
0
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.

Code:

With ToolStripComboBox2
                    .ComboBox.DataSource = dt
                    .ComboBox.DisplayMember = "AnalystName"
                    .ComboBox.ValueMember = "Analyst_ID"
End With


Viewing all articles
Browse latest Browse all 42220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>