I've got the following list

```
List<int> deletedRecords = new List<int>();

```

When I hit the delete button in my gridview, I add the Id for that record to this List. 

When the user clicks the save button, all records that exist in the List are deleted from the database before I proceed.

However, when I get to this point, the List is always empty.

The List is only referenced in three places, those being its declaration, its .Add method, and a foreach to cycle through all values it contains.

When I do a debug, I can see the List.Count go to 1, but then when I hit the Save button, my Debug shows the List has gone to a count of 0. I'm really confused by this.

Can anyone help?