Select to view content in your preferred language

QueryTask only works is I include something in the where statement...

544
1
07-16-2010 06:01 AM
MichaelBlom
Deactivated User
Hi there,

i've also tried "where 1=1", which i've seen documented, but this doesn't work.

does anyone know how I can execute my query to return all the shapes/records in a featureset?


Thanks for your help,
Mike
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
It should work with the where clause queryTask.Where = "1=1";

The sample http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery is doing that.

You could also verify that your service is working well by using the REST api of your service.
Something like
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5/...
0 Kudos