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 progressbar control specifies the amount to increment the current value of the control?
Explain the need of z-order method?
how print barcode
What is the use of play() playlooping() functions?
What is the difference between a document and a form?
What are window based applications?
What are the three states set in a checkstate property?
How to get records from a database?
How to split a column header in gridview using c#.net?
What is the use of runworkasync() methods?
What are the advantages of form?
What are windows based applications?
how see report periviwe
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
Which property value of the helpnavigator property will display the index for a specified topic?