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 / cutee
/* C# Version */
for (int i=0; i<= ComboBox1.Items.Count)
{
for(int j=0 ; j<= ComboBox2.Items.count)
{
if (ComboBox1.Items[i].Text == ComboBox2.Items
[j].Text)
MessageBox.Show(Items[i].Text);
}
}
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
Explain something about crystal report in brief?
What are the three states set in a checkstate property?
How is anchoring different from docking?
What are the components of gui for windows?
What are windows based applications examples?
What is the synonym of form?
What is form design?
What is a database form?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
how see report periviwe
Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?
Where to use new keyword other than create instance?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.
What is the difference between the add() and insert() methods of a listbox control?