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 / rejeesh
foreach (string item1 in comboBox1.Items)
{
foreach (string item2 in comboBox2.Items)
if (item1 == item2)
{
MessageBox.Show(item1);
}
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Where is system windows forms dll?
What is form record?
Which dialog box allows users to switch to another area of the application?
Is form action required?
Which of the following position is the default docking position of the statusstrip control on the form?
How many navigational features are provided by visual studio.net ide?
Explain something about crystal report in brief?
Explain the new events in textbox that has been included in vb?
Name the two main categories of .net components.
How can you pause a timer control?
how print PGL by XML
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
Which command prompt utility is used to convert a resource file from the text format into the binary format?
Explain how to add resources during runtime?
Name the property which is used to lock a textbox to enter data?