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
How can you pause a timer control?
What is the difference between a document and a form?
How many navigational features are provided by visual studio.net ide?
What are the forms of database?
Is windows an application software?
Explain how to add resources during runtime?
Which of the following position is the default docking position of the statusstrip control on the form?
Explain how save rerecord in the database?
What is the difference between pixels, points, and em’s when fonts are displayed?
Is form action required?
What is the extension of the windows installer file?
What is the difference between desktop application and windows application?
What is formdata?
Where to use new keyword other than create instance?
What is the use of form?