Hi dave
As far as I know, we cannot get the row count for a DataReader. Because
when you open the data reader, a cursor is open the on the server, it
doesn't provide the row count information. You can try to use COUNT in the
SQL statement to get the row count first.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."