Rowupdating e newvalues is empty

Row Updating Dim int Ret Val As Integer Dim log Text As String = "" Dim i As Integer For i = 0 To e.Unfortunately, I can not create it in design mode because the tables and their fields are defined in DB, so in design time I do not know which table and fields will be displayed by the Grid View. So you can add a hidden field to each row to hold the old value and retrieve values through Find Control("control Name") method. So it only works when you use Data Source Control . This can be beneficial to other community members reading the thread. If so, I suspect you do a Data Bind before the Update happens. Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread. Please remember to click “Mark as Answer” on the post that helps you.

rowupdating e newvalues is empty-84rowupdating e newvalues is empty-45

It gets into the "On Row Updating" event just fine, but there are no New Values or Old Values.

When I try to use wrong parameter name, asp drops this message "Must declare the scalar variable "@elso_detailed_mezo".

When all you've got is a Hammer, Every Problem looks like a Nail. Output: Main Content_detail GV22_ctl02_0#0 - System.

Hello all, My problem is the Grid View Update Event Args.

New Values collection is empty in the Row Updating event Handler.

Leave a Reply