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
Explain the new events in textbox that has been included in vb?
Which property of the errorprovider control automatically sets to the form to which?
What are the three states set in a checkstate property?
Explain the need of z-order method?
What are windows based applications examples?
Which window displays messages for the status of various features provided in the visual studio .net ide?
What is the synonym of form?
What are windows based applications?
How is anchoring different from docking?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
Name the property which of menu cannot be set at run time?
Explain about crystal report in brief?
how print PGL by XML
Which method of the messagebox class is used to display a message in the message box?
What is a database form?