View Single Post
  #1 (permalink)  
Old 11-15-2006, 07:41 AM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,148
Credits: 112
Rep Power: 16
Lop will become famous soon enough
Default Getting Row Count

Other than issuing a SQL statement like:

Code:
SELECT COUNT() FROM ..
or running a loop on my results and counting them, is there anyway to get a row count from

Code:
System::Data::Odbc::OdbcDataReader^ reader = g_cmd->ExecuteReader();
I've checked reader methods and none of them return the count.

Code:
reader->FieldCount
returns a count but I do not know of what.
__________________
Lop
Reply With Quote

Sponsored Links