Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27355

[RESOLVED] Can't get the ValueMember property to set for a ComboBox?

$
0
0
I have several ComboBox controls on a form. I am loading them manually using a For Loop. When each ComboBox is finished loading, I set the ValueMember/DisplayMember properties. However, when I go to check the "SelectedIndexChanged" Event...I check the ComboBox1.SelectedValue and there is no value for that property. What am I missing? If I bind the ComboBoxes in design mode to a Dataset, then it works fine. But that's not what I want to do.

Thanks,

Viewing all articles
Browse latest Browse all 27355

Trending Articles



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