Gets the sort expression associated with the column or columns being sorted.
Assembly: System.Web (in System.Web.dll)
Use the property to determine the sort expression associated with the column or columns being sorted.
The GridView control has a built-in sorting feature that automatically sets this property. This property is typically used only when you need to programmatically determine the column or columns being sorted or when you are adding your own custom sorting functionality to a GridView control.
When multiple columns are sorted, this property contains a comma-separated list of the fields by which to sort.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.