I have collection of object,which contains 6-7 properties.Collection having over 30,000 records.If i go by giving collection to the datasource of combobox,then it will tell lot of time,as it will represent it as a grid.then i have to hide some column and ...inshort this process will take lot of time.Instead of this i want to add 30,000 records manually,by adding combobox.item.add(key,value),or something like that.
I read in the forum,there you cannot add items manually,you must have to give datasource.
Can you suggest me anything(like dictionary etc...) that will take less time to process?
Thanks,
Jay Parikh.
aralmo said:I am having the same problem with 3 elements in the list, and no its not a recursive list.And no i dont have a DropDownSearchMode property or anything like this...
What problem are you having, exactly? Are you saying that adding 3 items to the list is taking a long time? If that's the case, then my best guess would be that something you are doing is causing Exceptions that are being caught and handled.
Can you duplicate this in a small sample project and post it here?
I am having the same problem with 3 elements in the list, and no its not a recursive list.And no i dont have a DropDownSearchMode property or anything like this...
Hi Stéphane,
I can't see any reason why this should be slow, unless maybe your data source has a recursive data structure.
The first thing I recommend is that you take a look a the WinGrid Performance Guide. In particular, check out section 4 on Recursion.
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
I'm sorry, but I do not understand your question.