GridView.SortDirection Property
.NET Framework 3.0
Gets the sort direction of the column being sorted.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public SortDirection get_SortDirection ()
public function get SortDirection () : SortDirection
Not applicable.
Property Value
One of the SortDirection values. The default is SortDirection.Ascending.Use the SortDirection property to determine whether the column being sorted is sorted in ascending or descending order.
Note: |
|---|
| 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 sort direction or when you are adding your own custom sorting functionality to a GridView control. |
Community Additions
ADD
Show:
Note: