Rowupdating dataitem null
A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.
Why is the Data Item always null and what can I do to get back my entity?
event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.
You're accessing so many items without null checks that it could be any number of things. Are you sure all of the controls exist in the cells you're specifying?
I have a Grid View and I set the Data Source to an array of custom objects and call Data Bind() in the Page_Load (every time postback or not).