Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databinding ComboBox Slow
Message
De
08/06/2005 09:59:36
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Databinding ComboBox Slow
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01021351
Message ID:
01021351
Vues:
68
I have a DataSet with 4 tables and also it has relation for each table like this:

Table1
- Table2
- Table3
-Table4

Each of this table is bounded to a ComboBox, when i select an item from the first combo, the rest of the combos are filtered.

I click the menu option and My problem is that the form take more than 5 seconds to load, i don't my users will like that.

If i remove the DataSource from the Combo, the form is show in less than 2 seconds, i could live with that.

I Also realize that if i only bind to the first 2 comboboxes, the speed is not affected, but when i bind the 3 combobox the form slow down.

What can i do to avoid this?

Why DataBinding in .NET is so slow, always when i show a form with databinding takes more than a second to be show, in real applications this doesn't have on normal forms.

If I unbind my controls my form is shown inmediately.

Didn't the Microsoft Developers test this?

I feel like .NET has slow down things talking about UI.

If i make a control to change its appereance like a flat textbox with a border color, it is grayed when the form is loaded and the is drawn, this things doesn't look good.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform