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

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static List<DataRow> GetUniqueRows(
	DataTable dt,
	string idColumn
)

Parameters

dt
Type: System.DataDataTable
Table with the data
idColumn
Type: SystemString
ID column name

Return Value

Type: ListDataRow
See Also