Gridview rowupdating newvalues oldvalues
I've found sever 'For Each' examples online to iterate through the 'New Values' and 'Old Values' collections, but it skips right over the loops, so the collections are empty.
Row Updating event, doesn’t work as all samples say it should do.
It gets into the "On Row Updating" event just fine, but there are no New Values or Old Values.
I was doing databinding in my Page_Load event and when I clicked "Update" the Post Back was done, so was the Page_Load event fired.
For example a Sql Data Source, which is automatically added to your Web Form if you drag-n-drop your way around Visual Studio 2005.
The problem is, I’d very much like to do so, if ASP. But I can’t set a Data Source property or anything on the Sql Data Source!!! I probably have to read the cells on the Grid View of the selected row, find the controls, get the values from those and insert those into my Data Set.
Search for gridview rowupdating newvalues oldvalues:
The rowupdating event in my Gridview doesn't give me the new values only the old ones.