Rowupdating get data
I have code trying to pull the values from the text boxes, but it still pulls the old values.
Most of what I have read online says I need to add Data Bind() to the Page_Load under Is Post Back, but this doesn't change anything.
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.
I'm having a very hard time understand what would prevent your event from being fired.
How to get the id of the row in gridview, Data Key Field="Order ID" Protected Sub dgd Orders_Row Updating(By Val sender As Object, By Val e As System.
Row Updating end sub Thank you very much for the helpful info.
You should create your data source once (on the user's first visit) and store it into Session for later use, and only bind the Grid View to the data source when it is necessary to do so.
It seems like the Java Script can get mangled otherwise.
Otherwise missing cells will be nulled out by the auto update operation. The dictionary consists of the new values to be set on the row's unbound cells.