Retrieve Data from ComboBox

Hi,

How do I do to retrieve data from Combobox

I can retrieve the text but I can’t retrieve the code associate with the text, on VB6 I use ItemData(ComboBox.listIndex) but on VB.net I don’t know !

Thanks,

Christian




Answer this question

Retrieve Data from ComboBox

  • poiuytrewq

    Use the valuemember property or SelectedValue

  • Retrieve Data from ComboBox