now my use selects an attribute-like a grid number, then in the code behind, i change MyFeatLayer's where clause using - myfeatlayer = (FeatureLayer)this.MyMap1.Layers["MyFeatLayer"]; this.MyMap1.Layers["MyFeatLayer"].Visible = true; myfeatlayer.Where = "gridnumber =100 "; myfeatlayer.Update();
Now how do I zoom to that particular feature layer so that it just shows what is currently inside the feature-layer(i.e. with where clause)
I did this this.MyMap1.Extent = myfeatlayer.FullExtent;