Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faster way to fill a ListView??
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00747360
Message ID:
00747524
Views:
12
I don't know af a way to fill a ListView other than one item at a time. You may want to consider reducing the number of items. 3000 seems a bit much for a user to scroll through.

>Hello everyone!
>
>I have a question about efficiency on a list view. Currently I get a query back from out SQL server and store it into a DataTable. I then create a DataView to sort and filter that data table then I populate my ListView by going through the DataView item by item adding it to the ListView. I use a list view because of the support of icons and multiple columns, but when it takes a long time when I'm repopulating the list view with 3000+ records. Is there a more efficient way to get all the records from the sql server sorted/filtered and get them into the list view? Thanks for all your help!!
Ken Wardwell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform