Start Rowupdating event in gridview in asp net with c

Rowupdating event in gridview in asp net with c

You have mentioned that you have done fecth data through select query and bind grid.

Redirect("~/Login Page.aspx") End Sub Private Sub Update Record(By Val Taken Date As String, By Val Status As String) Dim str Table Name As String = LBSubject Code. Text Dim conn String As String = Configuration Manager. Connection String Dim my Conn As New Sql Connection(conn String) Dim sql Statement As String = "UPDATE " & str Table Name & " SET Taken Date = @Taken Date, Status = @Status" Try my Conn.

I connect to my database and gave it a SELECT query and it works fine. Grid View Edit Event Args) Handles GV_Student Record.

I have a gridview which will populate at Page Load.

Thanks The OP has clearly mentioned the Row Updated event but if you'd like to suggest Row Updating - a page-level variable should be enough; beyond a postback a View State variable could be advised for the same page.