Hello Every One i have a problem with a Attribute request with clause IN
In fact i have an collection of integer and i want use the attribute requeste with IN ,that dosent work
below is the code ,i use to perform the task:
QueryTask qTask = new QueryTask("URL");
qTask.ExecuteCompleted += qTaskRemplirCbox_completed;
Query mquery = new Query();
mquery.OutFields.Add("*");
mquery.Where = "Code_Pref IN" + listcode; //Code_Pref is the field on the layer ,and listcode is the collection of
the integer
qTask.ExecuteAsync(mquery);
private void qTaskRemplirCbox_completed(Object sender, QueryEventArgs e)
{
//The graphics from the result Task but empty beacause the task are not executed completed.
}
i want to know if the request (mquery.Where = "Code_Pref IN" + listcode) are just or if something wrong ?
thanks in advance for any Help .