Επεξεργασία

Κοινή χρήση μέσω


SqlDataSourceView.CanSort Property

Definition

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

public:
 virtual property bool CanSort { bool get(); };
public override bool CanSort { get; }
member this.CanSort : bool
Public Overrides ReadOnly Property CanSort As Boolean

Property Value

true, if sorting is supported; otherwise, false.

Remarks

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

Applies to

See also