Assumptions: I have a custom SharePoint list with 2 items in it.
In one case i delete one item from the list manually and check the recycle bin,here i find the deleted item.
Now in the second case i delete the second item using server object model,following is the code
web.AllowUnsafeUpdates = true; lstBookings.Items.DeleteItemById(bk_item.ID); web.AllowUnsafeUpdates = false;
But this time when i check the recycle bin i cannot find the deleted item, so my question is Where does an item go if it is deleted via server object model?