Determine number of rows in oledbdatareader...
I need to find out how many rows are in my datareader.
The code is as follows:
Is there something like
I know you can do
but I physically need the number
Thanks
Simon
I need to find out how many rows are in my datareader.
The code is as follows:
Code:
Dim myReader As OleDb.OleDbDataReader = Nothing
Dim myCmd As New OleDb.OleDbCommand("spQryIssue")
myCmd.CommandType = CommandType.StoredProcedure
myReader = myDB.RunMyDataQuery(myCmd)
Is there something like
Code:
myReader.rows.count()
Code:
Do While myReader.Read
Thanks
Simon
Last edited by a moderator: