Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Need "display value" and "actual value" from an UN-bond combobox

$
0
0

I can see that this can be done if you look up the data from a data table, but I have a lot of simple unchanging options list which do not need to be soft coded in the database. However, I want to store a simple code and not a full description of the item.

The combobox's collection gives a list that is displayed and the "value" of each item is the same. I am look for the collection to be

<ID1> <display item>

<ID2> <display item>

Where the combo box shows the <display item>s, but the "value" of the field is <ID?>

 Any ideas?


Don C


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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