I have a combobox which is filled from a binding source from the database. i want at some point of the program to get the selected value of the combobox.
The table in the database has a column of Id which is Integer and a column of Description which is string and this is the value that appears at the combobox, so i select as display member the description column and as value member the Id column.
Can i get the description of the selected item on the combobox? Which property should i use, i tried selectedValue and selectedText but neither of them is appropriate for this case.
Thanks a lot for your time
Kristina
The table in the database has a column of Id which is Integer and a column of Description which is string and this is the value that appears at the combobox, so i select as display member the description column and as value member the Id column.
Can i get the description of the selected item on the combobox? Which property should i use, i tried selectedValue and selectedText but neither of them is appropriate for this case.
Thanks a lot for your time
Kristina