my_lou Posted March 11, 2004 Posted March 11, 2004 hi all, is there a way to find out how many rows were returned by OracleDataReader? i find it odd that the OracleDataReader class would have methods like Depth, FieldCount, and HasRows but no way to tell you how many rows were returned by the call to the database. Thanks. Quote
Moderators Robby Posted March 11, 2004 Moderators Posted March 11, 2004 You can call an ExecuteScalar with "Select count(*) from ....." The reader should however have .FieldCount, SqlClient has one. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.