SqlDataSourceView.CanSort Property

 

Gets a value indicating whether the SqlDataSourceView object that is associated with the current SqlDataSource control supports a sorted view on the retrieved data.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override bool CanSort { get; }

Property Value

Type: System.Boolean

true, if sorting is supported; otherwise, false.

The CanSort property returns true, if the current DataSourceMode property is set to the DataSet value and the SortParameterName property is set.

.NET Framework
Available since 2.0
Return to top
Show: