Rowupdating e newvalues is empty
Cancel = True End Try End Sub as a result deletes nothing.
It gets into the "On Row Updating" event just fine, but there are no New Values or Old Values.
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.
Hello all, My problem is the Grid View Update Event Args.
New Values collection is empty in the Row Updating event Handler.
Literal Control#1 ; Main Content_detail GV22_ctl02_0#0 - System.
For a while now I’m trying to figure out why my method, triggered by the Grid View.
Row Updating event, doesn’t work as all samples say it should do.
First, I load up some data: After that, I’m doing some work to make my Grid View look beautifull, adding all columns by hand.
But for this demo, I’ll show you the simple version, that also doesn’t work 🙂Let’s bind the data to our Grid View and have it autogenerate our columns, as well as an edit button.