Method Split
- Namespace
- YndigoBlue.Velocity.Utils
- Assembly
- YndigoBlue.Velocity.dll
Split(DataTable, int)
Splits a DataTable into multiple smaller DataTables of the specified size.
public static IList<DataTable> Split(this DataTable dataTable, int splitSize)
Parameters
dataTableDataTableThe DataTable to split.
splitSizeintThe maximum number of rows per split table.
Returns
Remarks
The last table may contain fewer rows than splitSize if the total row count is not evenly divisible by splitSize.