Hi,
I am almost postive that I did not used to have this problem, but I do now. When I try to delete multiple features from a MsSqlServer2008FeatureLayer only the first delete happens. Here is a code snippet:
Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click
With moSqlLayer
.Open()
.EditTools.BeginTransaction()
.EditTools.Delete("809")
.EditTools.Delete("810")
.EditTools.CommitTransaction()
End With
WinformsMap1.Refresh()
End Sub
In this example, only the feature with the ID 409 is deleted.
This problem does not happen if you are working with Shapefiles.
Thanks for any help!
Steve