Occurs when any button is clicked in the System.Web.UI.WebControls.DataList control.
The DataList.ItemCommand event is raised when any button is clicked in the System.Web.UI.WebControls.DataList control and is commonly used when you have a button control with a custom CommandName value.
For more information about handling events, see How to: Consume Events in a Web Forms Application.