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?
Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.
Explain how save rerecord in the database?
Explain the difference between listindex and tab index?
What is form design?
Explain how to split a column header in gridview using c#.net?
What are the different cloud platforms?
Explain how to get records from a database?
Explain something about crystal report in brief?
Which dialog box allows users to switch to another area of the application?
What are controls in windows forms?
What is form and its uses?
Explain how many number of events does the timer controls?
How to split a column header in gridview using c#.net?
Explain how insert record in the database?