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
Is typeform free?
Which of the following position is the default docking position of the statusstrip control on the form?
What is the use of form?
What is form application?
Explain how save rerecord in the database?
Where is system windows forms dll?
How insert record in the database?
Which method of the messagebox class is used to display a message in the message box?
How to get records from a database?
What are the three states set in a checkstate property?
What is the use of runworkasync() methods?
Which property of the progressbar control specifies the amount to increment the current value of the control?
How to split a column header in gridview using c#.net?
Name the template that is used to create a user-defined component.
Explain the difference between listindex and tab index?