Hi Team,
Input is my datatable below,
My output:
The last column will be of list type or any feasible type which can be used in for each. using LINQ.
As we can see here, for particular order type sales organization, pi number, there can be multiple cartoon numbers. I need that in the same row.
Anil_G
(Anil Gorthi)
July 24, 2023, 8:17am
2
@yash.choursia
Can you please explain what is that data? and how you want to append
cheers
As we can see here, for particular order type sales organisation, pi number, there can be multiple cartoon numbers. I need that in the same row.
ppr
(Peter Preuss)
July 24, 2023, 8:25am
4
its more a fill-up value case easier to handle within a for-each row instead with a LINQ
Can you help me with the logic for for each?
ppr
(Peter Preuss)
July 24, 2023, 9:21am
7
yash.choursia:
Can you help me
with this building block:
we can do within the
then block:
adding the Cartoon number to a list - ListGroupCartoons
setting “blank” value
Else Block:
memorizing the block start index
setting the ListGroupCartoons e.g. by: String.Join(“,”, ListGroupCartoons)