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 / cutee
/* C# Version */
for (int i=0; i<= ComboBox1.Items.Count)
{
for(int j=0 ; j<= ComboBox2.Items.count)
{
if (ComboBox1.Items[i].Text == ComboBox2.Items
[j].Text)
MessageBox.Show(Items[i].Text);
}
}
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What are the different cloud platforms?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
What are the three states set in a checkstate property?
What is difference between winforms and windows forms?
Explain the difference between listbox and combo box?
What are windows applications?
What is a windows form application?
Explain the new events in textbox that has been included in vb?
Explain how to add resources during runtime?
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?
What is form design?
Explain how many number of events does the timer controls?
Where to use new keyword other than create instance?
What are the forms of database?
Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?