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
Name the class to be inherited for creating a custom control.
Explain how to split a column header in gridview using c#.net?
What is form based application?
Which template creates a .net compact framework 2.0 forms application for pocket pc 2003 and later?
What are the advantages of form?
What are the three states set in a checkstate property?
What are window applications?
Explain the need of z-order method?
which property is used to change to some value to access a identity column in datacontrols?
What is a windows based application?
To which namespace does the control class belong?
How do you apply specific formatting to the data inside the cells?
How insert record in the database?
What is form and meaning?
What are windows based applications examples?