แก้ไข

แชร์ผ่าน


LinqDataSourceView.AutoSort Property

Definition

Gets or sets a value that indicates whether the LinqDataSourceView object that is associated with the current LinqDataSource control supports automatic sorting.

public:
 property bool AutoSort { bool get(); void set(bool value); };
public bool AutoSort { get; set; }
member this.AutoSort : bool with get, set
Public Property AutoSort As Boolean

Property Value

true if automatic sorting is supported; otherwise, false. The default is true.

Remarks

When you set the AutoSort property of the LinqDataSource control, that value is also set for the AutoSort property of the LinqDataSourceView control. For more information, see the LinqDataSource.AutoSort property.

Applies to

See also