Of course; it always is, or you wouldn't be posting it here. By adding that to your posts you often achieve the opposite.
Anyway, looks like you copied the handler for the Deleting event to the Deleted event without setting it up through the IDE. Take a look at this:
protected void GridView1_RowDeleted(object sender, GridViewDeleteEventArgs e)
This is the signature for the Deleting event. How can you tell? It has a GridViewDeleteEventArgs parameter, rather than a GridViewDeletedEventArgs (with an extra d):
Try this instead:
protected void GridView1_RowDeleted(object sender, GridViewDeletedEventArgs e)