I am trying to delete a selected gridview row using LINQ (No LINQDataSource).
When the selection is changed, the detailsview binding is changed also. I can add a new
I got around this issue, by making sure to refresh my object immediately before updating it. I do this with the KeepChanges option.
db.Refresh(System.Data.Linq.RefreshMode.KeepChanges, employee);