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
Which method grants a lock on a resource?
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 the use of play() playlooping() functions?
Explain how to get records from a database?
What is form design?
Which of the following position is the default docking position of the statusstrip control on the form?
How can you pause a timer control?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
How many types of dialog boxes windows provides?
What are the advantages of form?
To which namespace does the control class belong?
How many navigational features are provided by visual studio.net ide?
What is the full form of gac?
What are the properties of datacontrol?
Explain how to find the current record position in data control?