How do I extract all the points from a Polygon drawn in ArcMAP and then persist that data into a SQLServer database table containing a geometry column and then when I've got the data persisted read from the database and draw the polygon again.
I'm working with ArcGIS 10 sp1 using ArcObjects for .NET (C#) sp1. I've made an add-in tool to draw the polygon and want that add-in to persist it too. I know how to do the last steps e.g putting the geometry data into the database and drawing an IPolygon instance in ArcMAP, what I don't know how to do is to somehow "convert" the Polygon into something that will "fit" into the geometry column of the database and vice versa.
I'm completely new to ArcObjects programming and GIS systems in general, started two weeks ago, so bare with me...