System.Web.UI.WebControls.SqlDataSource.SortParameterName Property

Gets or sets the name of a stored procedure parameter that is used to sort retrieved data when data retrieval is performed using a stored procedure.

Syntax

[System.ComponentModel.DefaultValue("")]
public string SortParameterName { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The SqlDataSourceView.SortParameterName property is evaluated only when the SQL command that is contained by the SqlDataSourceView.SelectCommand property is the name of a stored procedure. In this case, if the SqlDataSource.SortParameterName property is set, it contains the name of a parameter that is used to sort the results of the stored procedure.

If the SqlDataSourceView.ParameterPrefix property is set, it is prepended to the SqlDataSourceView.SortParameterName property.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0