"Jouni Karppinen" <Jo************@discussions.microsoft.com> wrote in
message news:08**********************************@microsof t.com...
Quote from .NET Documentation
"The number of rows changed, inserted, or deleted; 0 if no rows were
affected or the statement failed; and -1 for SELECT statements."
I believe that DataReader does not return recordcount because it provides
forward-only reading through result set.
Correct. The DataReader has no notion of the number of records it contains -
only that it does or does not contain any records.