DataHelperSortDataTable Method |
Sorts the Data table using given OrderBy expression.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static void SortDataTable(
DataTable dt,
string orderBy
)
Parameters
- dt
- Type: System.DataDataTable
Table to sort - orderBy
- Type: SystemString
Order by expression
See Also