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 applications?
How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar
What are the three states set in a checkstate property?
What is the advantage of a form?
Explain how save rerecord in the database?
Name the property which of menu cannot be set at run time?
how see report periviwe
What is formdata?
How insert record in the database?
Explain the difference between listbox and combo box?
How do you apply specific formatting to the data inside the cells?
Which command prompt utility is used to convert a resource file from the text format into the binary format?
Explain the need of z-order method?
Explain how insert record in the database?
Which method of the messagebox class is used to display a message in the message box?