Camfor - Gridview rowupdating no rows

Delete a Record We can delete a record from the database table by clicking on the delete button that is in the Delete column of the Grid View.

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.

M sending the source code of my gridview and the method which i m using to display records in gridview.please tell how to do this..

public void Load Application() Auto Generate Columns="False" Use Accessible Header="False" Css Class="Grid Row Format" Auto Generate Edit Button="true" On Row Data Bound="gv Application_Row Data Bound" On Row Canceling Edit="gv Application_Row Canceling Edit" On Row Editing="gv Application_Row Editing" On Row Updating="gv Application_Row Updating" Allow Paging="True" On Page Index Changed="gv Application_Page Index Changed" On Page Index Changing="gv Application_Page Index Changing" Border Color="#404040" Border Style="Solid" Border Width="2px"// If your datasource is Data Set Data Set ds=new Data Set(); ds=Get Records(); // Retrieveing records from database lbl Records.

Point numbers 2 and 3 are performed after point 1 is performed.1.

Last modified 11-May-2018 18:56