N
Nico VanHaaster
Hello,
I don't really want to get too much of a debate here, but I have a
feeling this just might cause one. I have been trying to increase the
performance of one of my applications. (C# .Net web app).
Here's the scenario.
I fill a dataAdapter with up to 64 columns (but as low as 10) of data,
with +-300 rows. 63 of the 64 columns are all numbers, doubles, &
int's.
Now I then have to loop through the dataAdapter and build a table out
of the data.
The whole process takes the web app about 1.5 minutes to complete. Now
comes my question.
What is the fastest (best performing) way of converting a string to a
percent, double, int then back to a string to display on the page.
Also. What sort of performance implications come from statements such
as Convert.ToDouble(MyDataRow[my column
index].ToString()).ToString("P2");
This seems like pretty basic stuff however I can't find too many
resources out there that deal with these types of problems.
Thank you in advance.
I don't really want to get too much of a debate here, but I have a
feeling this just might cause one. I have been trying to increase the
performance of one of my applications. (C# .Net web app).
Here's the scenario.
I fill a dataAdapter with up to 64 columns (but as low as 10) of data,
with +-300 rows. 63 of the 64 columns are all numbers, doubles, &
int's.
Now I then have to loop through the dataAdapter and build a table out
of the data.
The whole process takes the web app about 1.5 minutes to complete. Now
comes my question.
What is the fastest (best performing) way of converting a string to a
percent, double, int then back to a string to display on the page.
Also. What sort of performance implications come from statements such
as Convert.ToDouble(MyDataRow[my column
index].ToString()).ToString("P2");
This seems like pretty basic stuff however I can't find too many
resources out there that deal with these types of problems.
Thank you in advance.