We have a legacy application which is in VB. we are migrating it in vb.net (2005).
While coding we found ourself in a fix, the scenario is --
In vb for fetching data we are using Recordset,
While iterating this using while loop we found that iteration is taking 21 sec to fetch about 450 records and looping through them and assigning respective values to excel sheet cells.
For the same thing in vb.net, using Datareader , time is 51 sec. almost 2.5 times. Will you please guide us how can we overcome from this enigma? We have also tried using dataset, but still the response time has not improved.
We have undertaken this migration process mainly for optimizing this process, but instead of performance improvement – we are facing performance degradation.
Kindly suggest an alternative. Would really appreciate a quick response.