check if combo box has selection

i have 3 combo boxes on a form  in the 3rd combo needs the selection from both of the previous. How do i check that both cb1 and 2 have items selected?
there is no order of selection the user can change 1 or 2 in either order as long as i can make cb3 respond
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Fernando SotoConnect With a Mentor RetiredCommented:
You can use the ComboBox.SelectedIndex property to know if a item has been selected in the ComboBox. It returns the zero base index of the selected item or if no item has been selected -1.
PeterBaileyUkAuthor Commented:
I just wrote this
  If (String.IsNullOrEmpty(CBNote.SelectedItem)) And (String.IsNullOrEmpty(CBScaleType.SelectedItem)) Then
            Call GetCBData("usp_GetChords")
        End If

not sure if its correct way
PeterBaileyUkAuthor Commented:
apart from the blinding obvious that i need an else and need to move the call to the correct part
PeterBaileyUkAuthor Commented:
I did try and ceremoniously failed. thx again
Fernando SotoRetiredCommented:
Did you get it working?
All Courses

From novice to tech pro — start learning today.