[fdo-users] Counting rows returned by managed IFeatureReader

Maksim Sestic max at geoinova.com
Sat Mar 1 11:47:05 EST 2008


It's such a pitty, I just want to implement a progress bar for lenghty
checkout operations...


Badreddine Karoui wrote:
> 
> 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
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users
> 
> 

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



More information about the fdo-users mailing list