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 / somnath
int countFirstBox=comboBox1.Items.Count;
int countSecondBox=comboBox2.Items.Count;
if(countFirstBox==countSecondBox)
{
MessageBox.Show(comboBox1.Items);
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are windows applications?
What is the extension of a compiled help project file?
What is form description?
To which namespace does the control class belong?
Explain how save rerecord in the database?
What is the full form of gac?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
What are the forms of graphics?
What is the use of form?
Name the class to be inherited for creating a custom control.
What is the difference between pixels, points, and em’s when fonts are displayed?
What is the use of runworkasync() methods?
Suppose 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?
Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.
Explain how to add resources during runtime?