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

Explain about crystal report in brief?

554


Where is system windows forms dll?

542


What is form record?

536


What are the components of gui for windows?

517


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

551






What is form application?

528


how see report periviwe

2333


What is form based application?

544


Is form action required?

513


What is difference between winforms and windows forms?

576


What are the forms of graphics?

513


Which of the following position is the default docking position of the statusstrip control on the form?

580


Explain how insert record in the database?

616


What is form and its types?

535


What is the difference between pixels, points, and em’s when fonts are displayed?

556