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