Gridview rowupdating change value
To make it simpler we can look at my problem as a TV program timetable (columns: program name, starttime, endtime).So that when the user pushes the endtime of a program, he/she will have to shift the starttime of the program that comes next.
I'm not too sure what's happening as I was able to successfully get your example to work just fine. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.I am just wondering how to access the cell value for the row updating (event = Gridview. The workaround is to check that the original value is "Access Granted Date" in the Row Updating handler with an additional check that we actually generated the value in code and then set it back to null if that's the case.
That way the original and new value are correct and the update can get created.Since we set the text of that control to "Access Granted Date", that's the original value.