Skip to content

Replies

0
Stephane
Stephane answered on Jul 1, 2010 4:52 PM

Hi Mike,

Sorry for my English.  I use Infragistics and Entity Framework in my WinForm c# project.  I have a performance problem about binding data to UltraCombo and WinGrid via DataSource property.

Here is the part the source code in question :

       List<RefStatutPersonne> elems = this.Entities.RefStatutPersonnes.ToList();
       _ultraCombo_StatutPersonnes.DataSource = elems;
       _ultraCombo _StatutPersonnes.DisplayMember = "Nom";
       _ultraCombo _StatutPersonnes.ValueMember = "ID";

To retrieve data is fast but the slowness occurs when I assign the elems variable to DataSource property.  The elems variable has only 13 records and the binding time is very slow.

Have you idea?

Do it exists performance consideration to apply to binding data to Infragistics with Entity Framework?

I work with Visual Studio 2010 and NetAvantage 10.1 CLR2x.

Thank you

Stéphane