DataHelperForEachRow Method (DataSet, ActionDataRow, FuncDataRow, Boolean) |
Executes the given action for each row in the given DataSet
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax 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