Click to See Complete Forum and Search --> : Which is more expensive in ASP.NET?...


Pestilence
03-27-2002, 09:57 AM
To query the database twice and use two DataReaders or to query the database once and use a DataSet? And how would you find this out? TIA!

Pestilence
03-29-2002, 09:37 AM
bump

gryps
04-03-2002, 10:44 AM
don't know about .net but here is how to do it with asp

this works better with a large data set


start = timer '<- returns number of seconds since midnight

your code here
your code here
your code here
your code here

response.write timer - start


prints number of seconds your code took to execute


hope this helps