This Article explains how to use the Row Command Event in a Gridview.
The Row Command Event can be used to get the selected Grid View Row value or text. Row Command Event: The Row Command Event occurs when a button is clicked in a Grid View control.
Grid View control Row Command event will give you the Product ID of the product from the Grid View Rows when user will click any of the button in the Grid View. To handle click event of the buttons in Grid View you need to handle Row Command event of the Grid View control.
Following code will show you how you can get Row Index, Product ID and Command Name of the button when user click any button in the Grid View.
Net Grid View simple and also combining the powers of ASP.
For example, you can set the Command Name property to Sort and set the Command Argument property to Ascending to specify a command to sort in ascending order.
Command Name: Command Name property to determine the command to perform.
Net AJAX with that of JQuery to give an elegant and charming user experience.
column which will act as custom column for delete functionality.