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 two main categories of .net components.
Explain how insert record in the database?
Suppose I am implementing one windows form. I am inserting some values into ms access. In that table 5 columns there. But I want to insert three columns only. When I am clicking another button then other two values also insert into that table?
What is a windows form application?
What is the difference between the add() and insert() methods of a listbox control?
What is the extension of the windows installer file?
What are the forms of database?
To which namespace does the control class belong?
How do you apply specific formatting to the data inside the cells?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
What are the three states set in a checkstate property?
How to use the FindControl() function to preselect an item in my dropdownlist?
Is windows an application software?
Explain how to find the current record position in data control?
What is form and meaning?