[mapguide-users] Re: querying number of objects in a feature

A H hizperion at hotmail.com
Tue Aug 23 22:38:47 EDT 2011


i tried using SelectAggregate

HttpContext.Current.Response.Write(featureReader.GetInt32("Count"));
and
HttpContext.Current.Response.Write(featureReader.GetInt32(featureReader.GetPropertyName(0)));

but i got
Exception Details: OSGeo.MapGuide.MgInvalidPropertyTypeException: The
Property Type is invalid.

i checked the property type and it returned '8'
can anyone explain? :(


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/querying-number-of-objects-in-a-feature-tp6639982p6718666.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list