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: 13.0.131
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