DataReader to Array

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello all,
Is there a way to dump a DataReader into an array, or get the number of rows
so I can get my array sized.

At the moment I'm converting my DataReader into a DataTable so I can get the
size and then reading data from the DataTable into my array.

There has to be better and faster way of doing this.

I don't need and don't really want to use DataAdapter and/or DataSet.

Thanks in advance,
Filip


.


Quantcast