Hi,
I am using SQL Spatial database. When I insert a new feature and call FeatureSource.CommitTransaction, The feature did not get inserted because there's error in the query. However, I cannot catch that error in asp.net. It just ran as it was sucessfully.
I created a simple test with ado.net SQLCommand and execute the same query, it does throw the error.
So what to I need to do in order for CommitTransaction to throw the same error. I need to inform user that the feature did not get inserted.
I also want to mention that I am using a View as the FeatureLayer and the feature is inserting to the view by using trigger. The error is coming from the trigger.
Thanks.