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

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

Parameters

dt
Type: System.Data.DataTable
Table with the data
idColumn
Type: System.String
ID column name

Return Value

Type: List<DataRow>
See Also