System.Data.Linq.ChangeConflictException: Row not found or changed

后端 未结 19 2765
生来不讨喜
生来不讨喜 2020-12-07 22:21

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

19条回答
  •  情歌与酒
    2020-12-07 23:00

    Also - if you're calling the selecting method for the linqdatasource and setting e.result manually, make sure you're including any foreignkey values as well.

    Nothing else worked for me but this.

提交回复
热议问题