Number of Rows Returned...

  • Thread starter Thread starter William Ryan
  • Start date Start date
W

William Ryan

You can use Datatable.Rows.Count on a DataTable

if you use a DataReader, the closest thing I can think of
is something like Dim i as Integer

While dataReader.Read
i+=1
End While

Hope this helps

Good Luck,

Bill
 
Thanks, I'm really kind of mystified as to why MS wouldn't have included
this as part of DataReader. But oh well... Perhaps I'll have to look into
Datatable as an alternitive to DataReader.

Carlo
 
Back
Top