Hi,
I have created a buffer as follows
IMap map = axMapControl1.ActiveView.FocusMap;
IFeatureSelection fSelection = map.get_Layer(0) as IFeatureSelection;
ISelectionSet selSet = fSelection.SelectionSet;
ICursor cursor;
selSet.Search(null, true, out cursor);
IFeature feat = ((IFeatureCursor)cursor).NextFeature();
ITopologicalOperator topoOpr = feat.Shape as ITopologicalOperator;
IPolygon buffPolygon = topoOpr.Buffer(100) as IPolygon;
IActiveView activeView=axMapControl1.ActiveView;
IScreenDisplay screendispaly = activeView.ScreenDisplay;
screendispaly.StartDrawing(screendispaly.hDC, (System.Int32)esriScreenCache.esriAllScreenCaches);
ISimpleFillSymbol simFillSymbol = new SimpleFillSymbolClass() ;
simFillSymbol.Style = esriSimpleFillStyle.esriSFSSolid;
IRgbColor color = new RgbColorClass();
color.Red = 255;
simFillSymbol.Color = color;
ISymbol symbol = simFillSymbol as ISymbol;
screendispaly.SetSymbol(symbol);
screendispaly.DrawPolygon(buffPolygon);
Now i can see a buffer around a feature.
I want to save it as a Feature class into data base.
How can i do it? Please help me out..
Thanks