System.Data.DataViewSetting.Sort Property

Gets or sets a value indicating the sort to apply in the System.Data.DataView.

Syntax

public string Sort { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

DataView.Sort can have two defaults based on the value of DataView.RowFilter property. If DataView.RowFilter is null or empty (that is, the value is not explicitly specified), the System.Data.DataRowView in the System.Data.DataView is sorted on the position or ordinal of System.Data.DataRow in the DataTable.Rows collection. The DataView.Sort default, an empty string, causes a System.Data.DataRowView in System.Data.DataView to be sorted on the position or ordinal of System.Data.DataRow in the DataTable.Rows collection.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0