DataHelperForEachRow Method (DataTable, 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(
DataTable dt,
Action<DataRow> rowAction,
Func<DataRow, bool> rowCondition = null
)
Parameters
- dt
- Type: System.DataDataTable
Table with the data - rowAction
- Type: SystemActionDataRow
Row action - rowCondition (Optional)
- Type: SystemFuncDataRow, Boolean
Row condition to filter rows
See Also