I/m not sure if I am creating a duplicate thread, if yes then apologies for that but I checked all possible threads.
I need to arrange my datatable based on same column values for 1 particular column.
Group by doesn’t work as it’s just keeping the distinct column value and removing others.
did we try with SORT DATATABLE activity With type of ordering chosen and the column name mentioned so that it does what you expect
Cheers @Faraz_Subhani
@Palaniyappan@lakshman I tried using sort datatable, issue is that my Column will be alphanumeric, for eg - 1234-TJ, Sort dtaatable is having no effect on the order.
Hi @Faraz_Subhani
If you want to do Order By Using Specific Column then Use Following Code. YourDataTable.AsEnumerable().OrderBy(Function(x) cstr(x("YourColumnName"))).CopyToDataTable
Regards