[RESOLVED] combobox selected item text
hey guys
i set the datasource property of my combobox to datatable
and ofcourse the displaymember and value member
and now i want to take the text in the selected item aand save it into variable?
i tried this
Code:
dim x as string=nothing
x=combobox1.selecteditem.tostring
but it is returned datarowview
so what i must do??
Re: combobox selected item text
Dim x As String = ComboBox1.Text
Re: combobox selected item text
lol
thank you
i didn't notice that
i feel like newbie
lol
thanks again
Re: [RESOLVED] combobox selected item text
No prob, glad we could help. :)