Quote:
quote:Originally posted by pradeep_itguy
You have two proprties in ComboBox namely "DisplayMember" and "ValueMember". DisplayMember can be used to display the values to the user and the "ValueMember" is the value returned when the user selects that particular value from the ComboBox.
Also you can use DataBinding if you are getting value for the TextBox from the DataBase.
It is not how much we do,
but how much love we put in the doing.
-Mother Theresa
|
Thanks for the reply.
but i dont know how to set two different values for a list of values in the combobox. when i click collection button i can only type text in a text box, where can i write the display and valuemember for each option?
BTW when i click on display and value member property of the combobox i only see a cross sign.
also i am not using database to populate the comboboxes.
thanks again your help and looking forward to getting the answer.