Hi
I've recently started using the MapSuite Evaluation version (MapSuiteCore 3.1.19, DesktopEdition 3.0.199) and was checking out the edit functionalities.
I tried to delete a feature from a shapefile uing the code sniipet attached and although the transaction results show that the feature has been deleted(The TotalSuccesCount returns 1), it doesnt get deleted from the shapefile. Please note that i open the shapefile using the readwrite flag.
Please advise if there's something wrong with the way i'm coding this.
Regards,
Arish
Layer.Open();
Layer.EditTools.BeginTransaction();
Layer.EditTools.Delete("30");
TransactionResult Result; Result = worldLayer.EditTools.CommitTransaction();
MessageBox.Show(Result.TotalSuccessCount.ToString());
Layer.Close();
winformsMap1.Refresh();