Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to select all rows in listview asp.net. How can I do ? I did not search but I did not find.
Thank you from now.
Posted

In your code you can get all items by

ListView1.Items;


This will return a list with all your items
 
Share this answer
 
Comments
Nermin.ilgin 4-Dec-15 1:30am    
I tried but did not work
What do you tried and what is the error?
 
Share this answer
 
Comments
Nermin.ilgin 9-Dec-15 4:51am    
Error is ListView1.Items; this dont accept.
I did not find all row in listview

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