S
Stephan Zaubzer
Hi,
I need to insert thousands (up to 50000) of items taken from a Database
into a ListView control. But this happens to be too slow. Constructing
all the items and putting them into an array is pretty fast (split
second). But when adding the Items with
ListView.Items.AddRange(itemArray) it takes 10 seconds for 37000 items
on my machine (Athlon XP 1700+ 768MB Ram).
Is there a way to speed the task up, or does anyone know an alternative
widget which has basically the same functionality (multi column view
with sorting capabilities for each column).
Regards
Stephan
I need to insert thousands (up to 50000) of items taken from a Database
into a ListView control. But this happens to be too slow. Constructing
all the items and putting them into an array is pretty fast (split
second). But when adding the Items with
ListView.Items.AddRange(itemArray) it takes 10 seconds for 37000 items
on my machine (Athlon XP 1700+ 768MB Ram).
Is there a way to speed the task up, or does anyone know an alternative
widget which has basically the same functionality (multi column view
with sorting capabilities for each column).
Regards
Stephan