How to get the datakeynames value in the rowupdating event
Row Updating Dim select Row As Grid View Row = Grid View Wn. Update() End Sub one of my other fields does not work either. Here we can update Name, Emp_Code and Emp_Age fields depending on the Id field of the "EMPLOYEE" table.
Database Table Structure We are using an "EMPLOYEE" table so the "EMPLOYEE" table design is: Design of Grid View We design a Grid View with which we can perform update and delete operations.We first of all create a Stored Procedure that gets the Id of an employee as a parameter from the Grid View on whichever row the user clicked. In this event, first we get the datakey value that is the id of an employee of whichever row the user clicked and that id is passed as a parameter to the Stored Procedure. According to the above, in these three operations we use three events of the Grid View for each operation.Point numbers 2 and 3 are performed after point 1 is performed.1. New Values("Location ID"); ok the the update worked when I assign a mock value.. Text could not avoid the cell numbering :/ somehow select Row.