DataView::Sort Property
.NET Framework (current version)
Gets or sets the sort column or columns, and sort order for the DataView.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System::String^A string that contains the column name followed by "ASC" (ascending) or "DESC" (descending). Columns are sorted ascending by default. Multiple columns can be separated by commas.
If you do not explicitly specify sort criteria for DataView, the DataRowView objects in DataView are sorted based on the index of its corresponding DataRow in the DataTable.RowsDataRowCollection.
For more information, see DataViews.
.NET Framework
Available since 1.1
Available since 1.1
Show: