Click or drag to resize
DataHelperGetMaximumValueT Method (DataTable, String)
Gets the maximum value from the given column.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static T GetMaximumValue<T>(
	DataTable dt,
	string column
)
where T : IComparable

Parameters

dt
Type: System.DataDataTable
Data table with the data
column
Type: SystemString
Column name

Type Parameters

T

Return Value

Type: T
See Also