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
Which property of the errorprovider control automatically sets to the form to which?
Explain how to add resources during runtime?
What is form and its types?
What are window based applications?
Explain something about crystal report in brief?
What is form application?
How to use the FindControl() function to preselect an item in my dropdownlist?
Explain the new events in textbox that has been included in vb?
How can you pause a timer control?
Explain about crystal report in brief?
What is dynamic linking?
Explain how save rerecord in the database?
How do I change the console application in windows?
How insert record in the database?
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