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
how see report periviwe
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
How insert record in the database?
What is the use of runworkasync() methods?
How to show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed
What is the use of form?
What is the difference between a document and a form?
Name the property which is used to lock a textbox to enter data?
Is windows an application software?
What is a windows forms application?
What is dynamic linking?
What is form and its types?
which property is used to change to some value to access a identity column in datacontrols?
Which template creates a .net compact framework 2.0 forms application for pocket pc 2003 and later?
How to create a set up in vb.net for desktop application please say steps with examples?