ASP.NET GridView e.NewValues == e.OldValues
Why would a GridView control's RowUpdating/RowUpdated event arguments开发者_如何学Go have NewValues == OldValues regardless of user input?
I've found the answer to this now after some poking and rearranging.
Seemingly it was a DataBind in page load that was resetting the new values to the old ones before the event handler. Should have guessed.... :)
精彩评论