how do i program by saying if a certain item is selected in a combo box then that item will not appear in a second combo box. i have this code for now but it does not work
VB.NET:
j = 0
Do While j < cmbSession.Items.Count
If (j <> lesson) Then
cmbChange.Items.Add(cmbSession.Items)
Next
End If
j += 1
Loop