DataGridSortCommandEventArgs.CommandSource Property
.NET Framework 3.0
Gets the source of the command.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use the CommandSource property to get the command source that raises the SortCommand event. Because this event is raised only when a link is clicked in the header of the DataGrid control, the returned source is a DataGridItem object that represents the header. This property can be used to programmatically control the header.
Community Additions
ADD
Show: