How to split datatable for each iteration

Hi @Kishore_Raj

Check out this thread

In Additional to above find a compacted variation:

Assign Activity:
SegmentSize | Int32 = 50

Assign Activity:
NoOfSegments | Int32 = Convert.ToInt32(Math.Ceiling(dtData.Rows.Count / SegmentSize))

Assign Activity:
TableList | List(Of DataTable) =

Enumerable.Range(0,NoOfSegments).Select(Function (x) dtData.AsEnumerable.Skip(x*SegmentSize).Take(SegmentSize).CopyToDataTable).ToList()
For each Activity: item in TableList | TypeArgument: DataTable

Log Message: item.Rows.Count.ToString()

Hope it helps!!