I'm trying to get the text portion of the combo box when a value is selected. I can get the selected value, but if I look at the selectedText or Text property the value is "".
Thanks,
Tom
I'm using the following code:
Private Sub cboVendorSearch_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles cboVendorSearch.SelectionChangeCommitted
clsVendor.ID = Me.cboVendorSearch.SelectedValue
me.lblVendorName.text = me.cboVendorSearch.SelectedText or simply me.cboVendorSearch.text
End Sub
Thanks,
Tom
I'm using the following code:
Private Sub cboVendorSearch_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles cboVendorSearch.SelectionChangeCommitted
clsVendor.ID = Me.cboVendorSearch.SelectedValue
me.lblVendorName.text = me.cboVendorSearch.SelectedText or simply me.cboVendorSearch.text
End Sub