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
What are window applications?
Is typeform free?
Which command prompt utility is used to convert a resource file from the text format into the binary format?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
Explain the difference between listbox and combo box?
Explain the new events in textbox that has been included in vb?
which property is used to change to some value to access a identity column in datacontrols?
Explain how to get records from a database?
Explain the need of z-order method?
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 database form?
Which event occurs when a user drags an item in a treeview or listview control?
What are the advantages of form?
What is the use of play() playlooping() functions?
Explain how to split a column header in gridview using c#.net?