Get Old Gridview Row Values In The RowUpdating Event

Rowupdating get old value

The RowUpdating event does fire but the value of Jockey, for example, is still the original. There is also a check inside to see if the row is in edit mode or not. The code i made adds a TextBox control to the cell.

When i fill in aThe control isThe RowUpdating event does fireThere is also a check

When i fill in a value and press the Update button, it can't find any controls anymore and therefore i can't get the value i entered. The control is still there in the DataBound when i put a break point after it. So when the GridView databinds, the columns get filled with data.

The code i made adds a

Gridview updating the old values on RowUpdating