Click or drag to resize
DataHelperSelectRowsByString Method
Selects the table rows by string values.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static DataRow[] SelectRowsByString(
	DataTable dt,
	string columnName,
	ArrayList values
)

Parameters

dt
Type: System.DataDataTable
Table with the data
columnName
Type: SystemString
Column name
values
Type: System.CollectionsArrayList
String values to select

Return Value

Type: DataRow
See Also