Check if Query Task returned values
I would like to run a second Query task if my first query task returns no values.
How can I use an IF condition to test to see if the featureset is empty?
Thanks.
Paul
0
-
yourfeaturesetvariable.Features.Any gives True or False
0 -
Amazing!
Thanks Nico - where can I find an index of all the types, properties, commands, etc. and what they do/how they act?
Paul
0 -
Hi Paul
there is also plenty of reading matter to be found at:
http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client.html
A FeatureSet falls into the ESRI.ArcGIS.Client.Tasks namespace.
Regards
Ralph
0
Please sign in to leave a comment.
Comments
3 comments