[fdo-users] Counting rows returned by managed IFeatureReader

Badreddine Karoui badreddine.karoui at autodesk.com
Fri Feb 29 11:13:13 EST 2008


Hi,

  You cannot get the count from the reader. You can use a count function if it's supported by the provider. If a reader returns no rows, then the first ReadNext will return false.

Badreddine

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Maksim Sestic
Sent: Friday, February 29, 2008 10:25 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] Counting rows returned by managed IFeatureReader


Hi all,

I don't know if this is a silly question or not, but it's been bugging me
for a while: how do I count number of rows returned by managed
IFeatureReader after select command has been executed? I mean, beside
iterating through it. Or, at least, how do I detect if reader returned no
rows?

Regards,
Maksim Sestic
--
View this message in context: http://www.nabble.com/Counting-rows-returned-by-managed-IFeatureReader-tp15760816s18162p15760816.html
Sent from the fdo-users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list