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

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

779


Where is system windows forms dll?

828


What are controls in windows forms?

736


How many navigational features are provided by visual studio.net ide?

838


What is form and its types?

760


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

2077


What are the components of gui for windows?

736


What are the forms of database?

742


Explain the difference between listindex and tab index?

768


What is the full form of gac?

885


Name the two main categories of .net components.

751


What are windows applications?

686


What is the difference between a document and a form?

784


How save rerecord in the database?

813


What is difference between winforms and windows forms?

817