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
Under:
QuestionModule o = query.First();
You have to add the following command:
db.QuestionModule.Attach(o);