Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting ComBox DataSource first time slow
Message
From
17/05/2005 14:04:16
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01014990
Message ID:
01015010
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform