Set both Text and Value property of ComboBox in design time
Posted
by The King
on Stack Overflow
See other posts from Stack Overflow
or by The King
Published on 2010-04-28T12:14:41Z
Indexed on
2010/04/28
12:23 UTC
Read the original article
Hit count: 275
I need to add the following items to a combo box.
Value DisplayText
Mpost Posted
Call Calling
RScan Re-Scan
These items are fairly static, and is not retrieved from any database... Hence thought of assigning these in design time itself.
I'm Unable to use Items property as it asks only one value per item... Could you please help.
Ps : In case you are suggesting BindingSource, could you please give me an example. I was not able to find one.
© Stack Overflow or respective owner