Click or drag to resize
DataHelperGetValuesT Method
Gets the array of the values from the given data table.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static List<T> GetValues<T>(
	DataTable dt,
	string columnName
)

Parameters

dt
Type: System.DataDataTable
Source data table
columnName
Type: SystemString
Column name

Type Parameters

T

Return Value

Type: ListT
See Also