This documentation is archived and is not being maintained.

DataSourceSelectArguments.SortExpression Property

Gets or sets an expression that the data source view uses to sort the data retrieved by the DataSourceView.Select method.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

public string SortExpression { get; set; }
/** @property */
public String get_SortExpression ()

/** @property */
public void set_SortExpression (String value)

public function get SortExpression () : String

public function set SortExpression (value : String)

Not applicable.

Property Value

A string that the data source view uses to sort data retrieved by the DataSourceView.Select method. Empty is returned if sort expression has not been set.

The SortExpression property supports sorting scenarios.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: