" End If End Sub Protected Sub grid View_Row Editing(By Val sender As Object, By Val e As Grid View Edit Event Args) grid View. New Edit Index load Stores() End Sub Protected Sub grid View_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) Dim stor_id As String = grid View.
To String() Dim stor_name As Text Box = Direct Cast(grid View.
Net Grid View control in order to add new record to the database.
column which will act as custom column for delete functionality.
The reason to use a custom button is to provide the Java Script confirmation box to the user when he clicks Delete.
For example you could have the following code:to store the information. Finally the code is bound to the When the user selects a record from the grid, the selected row index will be passed through as the Command Argument.
Run the project and place a breakpoint on the code above. The program will stop on the breakpoint and you will be able to see the selected row index being passed through.