I am still new to C#, and would like an example of editing a shapefile that actually traps the possible error messages for the BeginTransaction, Add (or Delete or Update), and CommitTransaction. Below is the code without trapping (rural is a ShapefileFeatureLayer):
rural.Open();
rural.FeatureSource.BeginTransaction();
rural.FeatureSource.AddFeature(newpoint, pointColumns);
rural.FeatureSource.CommitTransaction();
rural.Close();
Also is there a listing of the error messages for the InvalidOperationException, and for any other Exception that is specific to MapSuite?
thanks.
Elisa