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 / somnath

int countFirstBox=comboBox1.Items.Count;
int countSecondBox=comboBox2.Items.Count;
if(countFirstBox==countSecondBox)
{
MessageBox.Show(comboBox1.Items);

}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is form description?

730


Name the template that is used to create a user-defined component.

685


How can you pause a timer control?

841


What is a windows forms application?

695


Is windows an application software?

750


Explain how to split a column header in gridview using c#.net?

774


How to split a column header in gridview using c#.net?

934


How do I change the console application in windows?

720


What are windows based applications examples?

743


What is form application?

737


Name the property which is used to specify the source from where the crystal reports would be accessed.

738


What is a fillable form?

744


Is typeform free?

722


What is the full form of gac?

870


What are windows based applications?

680