Export (0) Print
Expand All

SortOrder Enumeration

Specifies how rows of data are sorted.

Namespace:  System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public enum class SortOrder

Member nameDescription
AscendingRows are sorted in ascending order.
DescendingRows are sorted in descending order.
UnspecifiedThe default. No sort order is specified.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft