Hi Yale,
My present concern is how to save the polygon geometry and position together with some text attributes of this polygon-zone. For example, ZoneID: 100, Monitor Zone Speed, Exclusion Zone Type etc. How to save these attributes together with the polygon geometry position? What changes should be made to the following code?
MsSql2008FeatureLayer layer1 = new MsSql2008FeatureLayer("[ConectionString]", "[TableName]", "IdColumn");
try
{
msSqlFeatureLayer.Open();
msSqlFeatureLayer.EditTools.BeginTransaction();
msSqlFeatureLayer.EditTools.Add(polygonShape);
TransactionResult result = msSqlFeatureLayer.EditTools.CommitTransaction();
}
finally
{
msSqlFeatureLayer.Close();
}
Can you show me the code for display the saved polygon data as well as the code for edit and delete the polygon data? Thanks a lot. Franklin