RE Framework related query

Hi Everyone,

My scenario is I have a datatable with dynamic number of rows. I have to divide it into datatables containing 25 rows and process each table one by one.
Can anyone give me a way to approach this using RE framework?

@Mohammad.Fuad

Hi

use the below expression which gives you list Of datatables

dt2.AsEnumerable.Chunk(25).Select(Function(chunk) chunk.CopyToDataTable).ToList

if want to use it without queues or with queues?

5 Likes

Query is fine but consider 103 rows. will it create the last datatable containing 3 rows?

@Mohammad.Fuad

Yes

It will come in the last datatable which contains 3 rows

1 Like

What type of transaction item should i take?
I am trying to do it without queue.

In intialization

Make dttransactiondata as dataype as list of datatables

IO_dttransactiondata as list of datatables

OutTransactionItem as

Datatable

1 Like

@Shiva_Nikhil Thanks a lot :+1:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.