JeffTullin
Programmer
There is probably some simple answer to this, but as a newbie I was surprised to find that the SQLdatareader class presents a .HasRows property but does not tell you how many to expect.
No .RowCount?
As a no-brainer workaround, I imagined I could read through the records and then start again, but I don't see a 'go back to the beginning' method either.
What is the prefered method of determining the number of rows obtained by instantiating a SQLDataReader with some ad-hoc SQL?
No .RowCount?
As a no-brainer workaround, I imagined I could read through the records and then start again, but I don't see a 'go back to the beginning' method either.
What is the prefered method of determining the number of rows obtained by instantiating a SQLDataReader with some ad-hoc SQL?