query

Oct 22, 2007 at 6:51 AM
where the changes to be made for the below code to run on a ajax page.
SharpMap.Geometries.Point ClickPnt = myMap.ImageToWorld(new System.Drawing.Point(e.X, e.Y));
SharpMap.Data.FeatureDataSet ds = new SharpMap.Data.FeatureDataSet();


VectorLayer layer = myMap.Layers0 as SharpMap.Layers.VectorLayer;

layer.DataSource.Open();


layer.DataSource.ExecuteIntersectionQuery(ClickPnt.GetBoundingBox(),ds);


layer.DataSource.Close();

this.gvDatos.DataSource = ds.Tables0;
this.gvDatos.DataBin
Thanks in advance