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 design?

561


How to get records from a database?

595


What is the synonym of form?

520


How do you apply specific formatting to the data inside the cells?

1840


Explain how to add resources during runtime?

613






Where to use new keyword other than create instance?

672


What are the components of gui for windows?

527


What is form description?

521


Which property value of the helpnavigator property will display the index for a specified topic?

621


Explain how save rerecord in the database?

597


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

613


What is form and meaning?

488


What is the extension of a compiled help project file?

582


What is the full form of gac?

652


What are the advantages of form?

525