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 form and its uses?
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
What are window based applications?
Are windows forms still used?
How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar
Name the template that is used to create a user-defined component.
Suppose I am implementing one windows form. I am inserting some values into ms access. In that table 5 columns there. But I want to insert three columns only. When I am clicking another button then other two values also insert into that table?
How many navigational features are provided by visual studio.net ide?
What are the three states set in a checkstate property?
What is formdata?
Which window displays messages for the status of various features provided in the visual studio .net ide?
What is a database form?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
Which property of the errorprovider control automatically sets to the form to which?
How do I change the console application in windows?