In classic ASP, you can dump a recordset into an array using getRows(). This is a lot faster way of looping results, and frees up the recordset earlier.
Is there an equivalent in ASP.net (c#?). I’ve had a look on google and all I can find is a bunch of ugly while loops that dump the rows in an array list, is there a nicer way of doing this?
Thanks!
In ADO.Net, the dataset is a disconnected, in-memory representation of data, so you don’t need this step.