I am facing the performance Issue in VS C# 2014, when we adding the item in softtree,setting the image in softtree and changing the font. sample code:- //Collection.count=10000 for(int i=0;i<=Collection.count;i++) { //if collection count is 10k or more than that,facing performance issues. //time taken by below three lines-6-11 ms.for each record. int Index = sftTree.InsertItem(parentIndex + 1, desc); sftTree.set_CellFont(Index , (short)0, new Font(sftTree.Font, FontStyle.Bold)); sftTree.set_ItemPicture(Index,GetImage("Sample")); } C# Full Execution Time-3.5 Min VB6 Full Exceution Time-.19 sec to 1.5 Min
V
vipin kumar sharma
@vipin kumar sharma