You need to pull a large amount of data (thousands of entries) from a local SQL server to be used in generating a report. You have two options:
1) Use a single query to get the data from the server, load it into a .NET data table and use a series of loops to get the information you need
2) Perform an SQL query each time you need a record
I know there are several factors affecting speed but with only the information given, which would you think is faster?