Gridview rowupdating oldvalues empty battlefield 2 rank not updating

Posted by / 07-Apr-2020 17:46

I'm trying to update a gridview using a store procedure.

When I am in the update subroutine, newvalues and oldvalues are empty, plus count is zero. What I really want to do is get the changed value for startdate and endate just before doing an update.

New Edit Index Bind Data() 'Rebind Grid() 'Bind Data() End Sub Sub gv1_Row Canceling Edit(By Val sender As Object, By Val e As Grid View Cancel Edit Event Args) Handles Grid View1. Edit Index = -1 Bind Data() End Sub Sub gv1_Row Update(By Val sender As Object, By Val e As Grid View Update Event Args) Handles Grid View1. New Values(i) & ";" Next DBConn = New Oracle Connection(Session("Connection String"). Edit Index = -1 End Sub Actually, I need the dates to be what is inputed, not the sysdate date. I am struggling with being able to update the gridview without using a datasource. 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.All samples of course assume you’re doing everything in your page, but I have to do everything in my code-behind, because on forehand I don’t know what I’ll be binding to my Grid View.

gridview rowupdating oldvalues empty-17gridview rowupdating oldvalues empty-55gridview rowupdating oldvalues empty-19

Output 'Dim Ora Date As Date Time = p Start Date 'Dim this Date As Date = Date Serial(Ora Date.