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 / mona

For inti As Integer = 0 To ComboBox1.Items.Count
For intj As Integer = 0 To ComboBox2.Items.Count
If ComboBox1.Items(inti).ToString =
ComboBox2.Items(intj).ToString Then
MessageBox.Show(ComboBox1.Items(inti))
End If
Next
Next


The answer should be modified. The loop should not go upto
the count-1 but should go upto count. Rest all is OK.

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which property of the errorprovider control automatically sets to the form to which?

967


Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.

945


how barcode print on the win form

2404


Which window displays messages for the status of various features provided in the visual studio .net ide?

1058


How to use the FindControl() function to preselect an item in my dropdownlist?

2155


What is the full form of gac?

1164


What are windows based applications?

933


How many types of dialog boxes windows provides?

1066


How is anchoring different from docking?

1174


How can you pause a timer control?

1050


Is form action required?

897


What are the forms of database?

970


What is the use of runworkasync() methods?

1040


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

2269


What is form technology?

935