Click or drag to resize
DataHelperGetUniqueValues Method
Gets the list of unique values based on given column value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static List<string> GetUniqueValues(
	DataTable dt,
	string column,
	bool caseSensitive
)

Parameters

dt
Type: System.DataDataTable
Table with the data
column
Type: SystemString
Column name
caseSensitive
Type: SystemBoolean
Case sensitive evaluation?

Return Value

Type: ListString
See Also