Hi all
my code in vb.net i used a list view control to view my records.
the problem is
i'm filling the list view useing for loop
but i have many records so the for loop take a time
what can i do to solve this problem.
thanks a lot
Hi all
my code in vb.net i used a list view control to view my records.
the problem is
i'm filling the list view useing for loop
but i have many records so the for loop take a time
what can i do to solve this problem.
thanks a lot
how we can icrease the speed of the listview
Exploder
I second the suggestion by aspatz. I had a similar problem with a slow listview.
using the BeginUpdate / EndUpdate method sped it up hugely!
Dragan Jankovic
Hi,Mffm
I think there are several ways to improve the performance of listview.
1.you can show data by page
2.you can use set virtualmode property,which something like the same problem to datagridview.
Gidjett
For truly large lists, that will also become too slow, and you will have to look at the suggestions by Gavin Jin.
LiamD
you can increase the speed in the following way:
1. YourListView.BeginUpdate;
2. YourListView.Items.AddRange(AllYour ListViewItems);
3. YourListView.EndUpdate;
good luck Arnold