Reputation: 15
My ComboBox
is filled by using a query. I have a SiloId
and a SiloName
, So the ID
is combobox.ValueMember
and the name is combobox.DisplayMember
.
Normally I need the ID
when it's selected . (combobox.SelectedValue
)
But now I need the text like it's displayed in the ComboBox
.
How should I do that ?
Upvotes: 0
Views: 45