Hi I'm using VS2013, asp.net web form and C#.
I have a detailsview contorl. Its bind to a datasource of a datatable which I populated with data I got back form a web service call. I also have a Edit button in the form and in my back end code I just change the mode to Edit. I'm trying to process wen user clicks on the update of the Update or Cancel button on my detailsview control. However, when either of the buttons is clicked, I get the error message attached. I'm also attaching part of aspx and C# code.