Click here to Skip to main content
15,998,694 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello everyone
sorry for asking wrong question

I m trying to getting index of first value and then second and so on....from list view not values listview control but without click on item in listview control...
i m creating one listbox and add item into it but after adding items into it fetch value or index of item one by one in listbox without click ...
can anyone have idea about this....i have searched on web but not found...

thanks
Posted
Updated 24-Mar-10 19:52pm
v2

1 solution

Use a foreach to iterate through each of the items in the listbox. How do you propose to trigger the event to get all of this data? How will you know which is the user's selected item? If the user isn't selecting a value in the list and you are getting all of the values surely you already have all of these from when you populate the list in the first place? Is there somthing missing from your question?
 
Share this answer
 
v2

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