Supposedly you can get the old values during a gridview rowupdating event using:
oldvalue = e.OldValues("fieldname") or oldvalue = e.OldValues.Item("fieldname")
Neither works for me. I even tried to see what fieldnames it might be seeing with
Protected Sub Budget_GridView_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles Budget_GridView.RowUpdating
For Each v In e.OldValues
MsgBox(v.ToString)
Next
But it doesn't complete the loop. Just jumps over it.
So what gives? Is this because the Gridview is populated in codebehind using a multitable select?
Go to the complete details ...