Groups | Blog | Home
all groups > vb.net > february 2007 >

vb.net : determing what item in combobox is selected?


Ron
2/1/2007 8:00:56 PM
Hello,
How do I determine which item in a combo box the user selected? Say I
have a combo box with All, Some, None and I want to write code for a
button like this?...

if combobox.userselected = "All" then
(20*12)
end if

I was thinking it would be :
if cboselected.items = All then ...

thanks for any help
Stephany Young
2/2/2007 5:26:41 PM
If CType(cboselected.SelectedItem, String) = "All" Then
...


[quoted text, click to view]
AddThis Social Bookmark Button