System.Web.UI.WebControls.ObjectDataSourceView.SortParameterName Property

Gets or sets the name of the data retrieval method parameter that is used to specify a sort expression for data source sorting support.

Syntax

public string SortParameterName { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ObjectDataSourceView.SortParameterName property is used to support data source sorting. When a System.Web.UI.DataSourceSelectArguments.SortExpression property is set on the System.Web.UI.DataSourceSelectArguments object and passed to the ObjectDataSourceView.Select(System.Web.UI.DataSourceSelectArguments) method, the ObjectDataSourceView.SortParameterName property identifies the parameter name of the method specified by the ObjectDataSourceView.SelectMethod business object property that accepts the sort expression value.

The value of the ObjectDataSourceView.SortParameterName property is stored in view state.

Requirements

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