Rowupdating getting old values
If it turns out you don't want to update then do an e.cancel to cancel the update. Of course you can always query the existing values matching the id in the Grid View_Row Updating event and do your check against that.Update record and get updated state of the Grid View.Delete a Record We can delete a record from the database table by clicking on the delete button that is in the Delete column of the Grid View. Sorry, the whole point of the exercise is to cancel the update if certain conditions are met between the old and new values. Hi， First, about the following point what you said, in my code, I triggered event is the Row Updated event, but not the Row Updating, so I could get the old values and the new values, perhaps you could try to triggert the Row Updated event.Yes, it writes in the logs, from memory as well during checkpoints.
Dmitriy My email:[email protected]@Tony:===================================Public Class Some Page Inherits Page Private With Events gv Schedule As Grid View Protected Sub Page_Load(sender As Object, e As System.The database does not check the previous value, it only sets the new a more or less substantial impact on performance, directly and indirectly."Empty updates" have the same cost per row as any other update.