Editare

Partajați prin


LinqDataSourceView.OrderBy Property

Definition

Gets or sets the name or names of the properties to use during the select operation for sorting data.

public:
 property System::String ^ OrderBy { System::String ^ get(); void set(System::String ^ value); };
public string OrderBy { get; set; }
member this.OrderBy : string with get, set
Public Property OrderBy As String

Property Value

A value that is used to create the OrderBy clause.

Remarks

When you set the OrderBy property of the LinqDataSource control, that value is also set for the OrderBy property of the LinqDataSourceView control.

Applies to

See also