queryByAttributes...

Paul james pauljame at GMAIL.COM
Tue Apr 12 13:17:52 EDT 2005


I´m with problems using queryByAttributes... getResult(0) always return null...
any idea?
ps.: using c#

thx

 

layer = mp.getLayerByName("layer");
string value = "'[oid]' = '32141'";
if ((layer.queryByAttributes(mp,"oid", value, 0))==1)
{
      resultCacheMemberObj result = new resultCacheMemberObj();
      result =layer.getResult(0);
}



More information about the mapserver-users mailing list