Gridview rowupdating newvalues example
After searching long and hard I found a great article that solved my issue.Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.
I was just testing if I will get the changed value out of the textbox when updating with no luck. To access the values of the primary key field or fields, use the Keys property. Dim entry As Dictionary Entry For Each entry In records e. To access the original values of the non-key fields in the row, use the Old Values property. Text Dim command As Sql Command = New Sql Command("updatetest", cn) command. Add With Value("@pfirstname", str Last Name) If cn.