System.Web.UI.WebControls (system.web.dll)sealed class

This class provides extra information for the DataGrid.SortCommand event. This information includes the CommandSource, which will always be the DataGridItem that represents the header row, and the SortExpression, which indicates the column (field) title. If you use a System.Data.DataView for your data source, you can assign this expression to the Sort property.

public sealed class DataGridSortCommandEventArgs : EventArgs {
// Public Constructors
   public DataGridSortCommandEventArgs(object commandSource, DataGridCommandEventArgs dce);
// Public Instance Properties
   public object CommandSource{get; }
   public string SortExpression{get; }


System.Object System.EventArgs DataGridSortCommandEventArgs

Passed To

DataGrid.OnSortCommand( ), DataGridSortCommandEventHandler.{BeginInvoke( ), Invoke( )}

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace