CanSort Property

ObjectDesignerDataSourceView.CanSort Property


Gets a value that indicates whether the associated data source control can sort rows.

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

public override bool CanSort { get; }

Property Value

Type: System.Boolean

Always true.

The CanSort property indicates that ObjectDataSource controls can sort result-set rows. The SortParameterName property specifies the parameter in the collection that is referenced by the SelectParameters property that is used to define the sort expression.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft