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:
00747668
Views:
9
Hehe, true. I do give the user to ability to filter and save the filter when they quit, but if they choose to display all records then they will notice a slowdown. Also it will take quite some time for that table to get to that point when the program goes live; I was only curious if there was a faster way. Thanks again!


>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!!
Previous
Reply
Map
View

Click here to load this message in the networking platform