Load saved value in ComboBox


Michael Barrett

I have a couple comboBox controls that need to automatically select and
display an item based on a passed value when the form loads. I seem to be
chasing my tail here.

I originally capture the SelectedValue.ToString. Loading the form though,
setting SelectedValue to "MyVariableValue" after the control populates (I
use ValueMember and DisplayMember, not Item.Add) doesn't work. I am sure
this is simple and I am missing it.

Any help appreciated.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question