Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the synonym of form?

888


What are the different cloud platforms?

959


What are the components of gui for windows?

951


What is difference between winforms and windows forms?

1094


What is the difference between the add() and insert() methods of a listbox control?

1030


What is the extension of the windows installer file?

1066


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?

971


Is windows an application software?

1005


What is the difference between a document and a form?

990


Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.

915


What is a windows based application?

985


Name the property which is used to specify the source from where the crystal reports would be accessed.

984


What is window form application?

937


Which command prompt utility is used to convert a resource file from the text format into the binary format?

1073


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

1951