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
What is the use of form?
How is anchoring different from docking?
Is typeform free?
How save rerecord in the database?
Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?
How to get records from a database?
which property is used to change to some value to access a identity column in datacontrols?
How to use the FindControl() function to preselect an item in my dropdownlist?
Explain something about crystal report in brief?
What is the full form of gac?
Explain how many number of events does the timer controls?
Is form action required?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
How many types of dialog boxes windows provides?
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?