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

Compare the values in both the comboboxes :


if(comboBox1.Text == comboBox2.Text)
{
MessageBox.Show(comboBox1.Text);

}

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is form and its types?

735


Explain how insert record in the database?

801


What is the synonym of form?

689


What are window based applications?

717


How insert record in the database?

783


How save rerecord in the database?

792


Is typeform free?

720


What is the extension of the windows installer file?

796


Is windows an application software?

749


What is a windows based application?

729


Explain how to find the current record position in data control?

673


What is the difference between the add() and insert() methods of a listbox control?

789


What are the advantages of form?

731


Which command prompt utility is used to convert a resource file from the text format into the binary format?

823


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

683