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 / usha
For inti As Integer = 0 To ComboBox1.Items.Count - 1
For intj As Integer = 0 To ComboBox2.Items.Count - 1
If ComboBox1.Items(inti).ToString =
ComboBox2.Items(intj).ToString Then
MessageBox.Show(ComboBox1.Items(inti))
End If
Next
Next
| Is This Answer Correct ? | 22 Yes | 7 No |
Post New Answer View All Answers
What is the synonym of form?
What are the different cloud platforms?
What are the components of gui for windows?
What is difference between winforms and windows forms?
What is the difference between the add() and insert() methods of a listbox control?
What is the extension of the windows installer file?
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?
Is windows an application software?
What is the difference between a document and a form?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
What is a windows based application?
Name the property which is used to specify the source from where the crystal reports would be accessed.
What is window form application?
Which command prompt utility is used to convert a resource file from the text format into the binary format?
i already displaying one datagrid. now i want to make change to particular column header i.e i want to split that column header and it includes one more header.... write a code for that in windows application using C#.net