Click or drag to resize
DataHelperSortDataTable Method
Sorts the Data table using given OrderBy expression.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static void SortDataTable(
	DataTable dt,
	string orderBy
)

Parameters

dt
Type: System.DataDataTable
Table to sort
orderBy
Type: SystemString
Order by expression
See Also