[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fdo-users
Subject:    [fdo-users] Counting rows returned by managed IFeatureReader
From:       badreddine.karoui () autodesk ! com (Badreddine Karoui)
Date:       2008-02-29 11:13:17
Message-ID: 28EB4B4A99436D4B8031C7C337254B3B1806D77EEA () ADSK-NAMSG-01 ! MGDADSK ! autodesk ! com
[Download RAW message or body]

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@lists.osgeo.org [mailto:fdo-users-bounces@lists.osgeo.org] On \
                Behalf Of Maksim Sestic
Sent: Friday, February 29, 2008 10:25 AM
To: fdo-users@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic