-
ComboBox Text Value
I am having a brain fart on what should be simple for me by now.
I want to get the text of selcted value in a combox into a variable
Code:
Dim sslValue As String = ComboBox1.Text
MsgBox(sslValue)
My msgbox keeps display 0 no matter what i try
SelectedValue
SelectedItem
etc..
any help
Thanks
-
Re: ComboBox Text Value
do you have an item selected in your combobox?
-
Re: ComboBox Text Value
Never mind I knew i was having a brain fart
i was executing code in a for loop that never had anything
sorry to waste anyones time