jennemaan >> jeg sier ikke du skal høre på meg, men det ville jo være en fordel å lytte til dem som har designet frameworket ;)
Dette er nesten noe du tvinger meg til...
<snip>
The DataReader is an interesting optimization of the ADO.NET model. When a DataReader is used, parts of the ADO.NET model are cut out, providing faster and more efficient data access.
</snip>
hentet fra
http://www.aspnextgen.com/tutorials.aspx?tutorialid=87<snip>
In general, use data commands; to fetch data, use a data reader. Because Web Forms pages and their controls and components are recreated each time the page makes a round trip, it often is not efficient to create and fill a dataset each time, unless you also intend to cache it between round trips
</snip>
hentet fra
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconusingdatacommandversususingdatasets.asp<snip>
Execute Select commands that return a result you can read directly, rather than loading it into the dataset. To read the results, you use a data reader (OleDbDataReader or SqlDataReader object), which works like a read-only, forward only cursor and that you can bind controls to. This is a useful strategy for reducing memory usage and loading read-only data very quickly
</snip>
Hentet fra
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconintroductiontodatacommandobjectsinvisualstudio.aspjeg vil heller ikke starte en religionskrig, men sånn som jeg ser det, så er det ikke snakk om grunnlag for krig hvos man bare setter seg inn i litt dokumentasjon og artikler skrevet om emnet...
/nute