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!
Printable View
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!
bump
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