Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGridView RowCount setting very slow
Message
 
 
À
28/10/2008 06:23:08
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01357256
Message ID:
01357873
Vues:
13
Andrus,

I didn't get that from the help topic on the assign of RowCount... obviously it's doing something if it takes 8 seconds. Is it a linear or exponential time? How long do 10, 100, 1000, 10000 and 100000 rows take?

As far as faster goes do you really a million virtual rows at once? Can you just actually allocate them in blocks of say 1000 as you need?

>Your question is based on the wrong assumtotions.
>DataGridView VirtualMode is designed to *show* one screenful from large *virtual* data efficiently.
>OnCellValueNeeded is called whenever data is required.
>RowCount assignment line does *not* create day objects.
>
>Task Manager shows that this code does not require any measurable about of RAM if running.
>Here is better samle to reproduce this issue:
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform