If you just want to know the total of records you should use a different SQL statement and a ExecuteScalar method.
Something like:
"SELECT Count(id) AS total FROM myTable"