Click or drag to resize
DataHelperForEachRow Method (DataSet, ActionDataRow, FuncDataRow, Boolean)
Executes the given action for each row in the given DataSet

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static void ForEachRow(
	DataSet ds,
	Action<DataRow> rowAction,
	Func<DataRow, bool> rowCondition = null
)

Parameters

ds
Type: System.DataDataSet
DataSet with the data
rowAction
Type: SystemActionDataRow
Row action
rowCondition (Optional)
Type: SystemFuncDataRow, Boolean
Row condition to filter rows
See Also