I have a datatable composed of 4 columns, as in the image:
I need to group the rows that have the same “Number” AND “Name” and “Code” column values as follows:
The result in the example should return me 8 datatables.
Any idea to achieve this?
Have a view on this thread for some idea
Have a look on the thread
LHS: TableList | List(of DataTable)
(From d in YourDataTableVar.AsEnumerable
Group d by k1=d("Name").toString, k2=d("Number").toString, k3=d("Code").toString into grp=Group
Also Have a look here:
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum
Thanks to all, i’m signing your solution as the correct one!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.