C# code performance improvement

Posted by Pchamak under C# on 3/12/2015 | Points: 10 | Views : 482 | Status : [Member] | Replies : 1
We are developing a tool without database. The input is an excel sheet which is having 36000 records. We are having some conditions to satisfy those we are using 8 data tables and for each datatable it is having one foreach and on for loop.Hence for the whole code to execute it is taking more than 2 hours. Hence we are looking for a solution to improve the performance.




Responses

Posted by: Subhacomm on: 3/12/2015 [Member] Starter | Points: 25

Up
0
Down
This link may be helpful for you...
http://www.cshandler.com/2011/10/fastest-way-to-populate-datatable-using.html

Pchamak, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response