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
Which template creates a .net compact framework 2.0 forms application for pocket pc 2003 and later?
What is form based application?
Explain how to net forms the windows?
Name the property which of menu cannot be set at run time?
What is form application?
What is the use of runworkasync() methods?
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?
Which property of the progressbar control specifies the amount to increment the current value of the control?
What is the difference between desktop application and windows application?
Explain the difference between listbox and combo box?
Which property of the errorprovider control automatically sets to the form to which?
Explain about crystal report in brief?
Which event occurs when a user drags an item in a treeview or listview control?
What are window based applications?
How to create a set up in vb.net for desktop application please say steps with examples?