Hisimply, i want to delete a row from a table. the following code works well . however, after deleting , when i open the attribute table , i can see the row still exists and is not deleted. whene i close Arcmap and start it again , open attribute table, the row is not there.can any please please guide me to deletion method that works directly with no need to restart arcmap.thank you
IWorkspaceEdit workspaceEdit = (IWorkspaceEdit)dataset.Workspace;
workspaceEdit.StartEditing(true);
// Start an edit operation and create a cursor.
workspaceEdit.StartEditOperation();
IRow selectedRow = getSelectedRow();
selectedRow.Delete();
Marshal.ReleaseComObject(featureCursor);
// Stop the edit operation.
workspaceEdit.StopEditOperation();
// Stop the edit session.
workspaceEdit.StopEditing(true);