Answers

Question and Answer:

  Home  Dot Net WindowsForms

⟩ Suppose I have two combobox .. and i have some items in both combobox now i need to check the item in both combobox if same item is Present in both combobox i need to display that item in message box?

For inti As Integer = 0 To ComboBox1.Items.Count

For intj As Integer = 0 To ComboBox2.Items.Count

If ComboBox1.Items(inti).ToString =

ComboBox2.Items(intj).ToString Then

MessageBox.Show(ComboBox1.Items(inti))

End If

Next

Next

 230 views

More Questions for you: