I want to display values in combo box but hide key data for each row. (With Listview or treeview you can just use the Key property but Combobox doesn't have this.) When the user hits a command button on the same form I want the Key value corresponding to the selected value in the combo to be passed as a parameter to a Store Proc on SQLSver.
I believe it should be possible to use a Datacombo control and bind it to the data but I am loath to use either of these as their properties cannot be set at run-time. (Correct me if I am wrong).
I'm am not trying to do anything out of the ordinary here; surly there is a simple solution to this problem...any clues would be much appreciated.
Thnaks in advance,
Yael
I believe it should be possible to use a Datacombo control and bind it to the data but I am loath to use either of these as their properties cannot be set at run-time. (Correct me if I am wrong).
I'm am not trying to do anything out of the ordinary here; surly there is a simple solution to this problem...any clues would be much appreciated.
Thnaks in advance,
Yael