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
What are windows based applications examples?
What are windows based applications?
Which property of the progressbar control specifies the amount to increment the current value of the control?
how print barcode
Is windows an application software?
What is the extension of a compiled help project file?
i already displaying one datagrid. now i want to make change to particular column header i.e i want to split that column header and it includes one more header.... write a code for that in windows application using C#.net
What is form and meaning?
What is the advantage of a form?
how see report periviwe
How save rerecord in the database?
Name the property which of menu cannot be set at run time?
Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.
Are windows forms still used?
What are the components of gui for windows?