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
Answer Posted / usha
For inti As Integer = 0 To ComboBox1.Items.Count - 1
For intj As Integer = 0 To ComboBox2.Items.Count - 1
If ComboBox1.Items(inti).ToString =
ComboBox2.Items(intj).ToString Then
MessageBox.Show(ComboBox1.Items(inti))
End If
Next
Next
Is This Answer Correct ? | 22 Yes | 7 No |
Post New Answer View All Answers
What is the use of play() playlooping() functions?
Is form action required?
What is the difference between the add() and insert() methods of a listbox control?
What is the use of runworkasync() methods?
What is form based application?
What is the use of form?
How to show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed
Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?
Explain about crystal report in brief?
How do I change the console application in windows?
Which property of the progressbar control specifies the amount to increment the current value of the control?
What is window form application?
Explain the difference between listindex and tab index?
What are the forms of graphics?
How can you pause a timer control?