Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting ComBox DataSource first time slow
Message
De
17/05/2005 14:04:16
 
 
À
17/05/2005 13:49:25
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01014990
Message ID:
01015010
Vues:
30
I don't have the code right now, but is somethin like this:

form_load event
daList.Fill(MyDataSet, "MyTable")

MyCombo.ValueMember = "ID"
MyCombo.DisplayMember = "Name"

MyCombo.DataSource = MyDataSet.Tables("MyTable") 'This line slow down
'If i comment the line, it loads fast.
'--------

My DataSource has 5 rows
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform