Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hii


i am working on web application and i am using drop down list for fetching value from the database i want to count the those item which is selected by the user from the dropdownlist in web application.


any one can help me.

thank you
Posted
Comments
KM Perumal 3-May-13 2:54am    
supriya931 What have you tried so far?
supriya931 3-May-13 3:05am    
i am trying to count only selected item by the user from the dropdown list

you can select only one item in drop down list and many in list box list.
 
Share this answer
 
Comments
Johnny J. 3-May-13 3:42am    
So, if you only selected one item (which is all you can select), the count of selected items is 1! Problem solved!
supriya931 3-May-13 3:51am    
no i want to compare the dropdownlist item and dropdownselected item from list because if user select 2nd item firstly and after that first item selected then hows it possible to count both item as 2 item selected
You can select only one item in every drop down menu. I recommend you use listbox with Multiselect = True property.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900