Occurs when any button is clicked in the System.Web.UI.WebControls.DataGrid control.
The DataGrid.ItemCommand event is raised when any button is clicked in the System.Web.UI.WebControls.DataGrid control. This event is commonly used to handle buttons controls with a custom CommandName value, such as Add, in the System.Web.UI.WebControls.DataGrid control.
For more information about handling events, see [<topic://cpconEventsOverview>].