(From x In datatablevariable.AsEnumerable() Order By convert.ToInt16(x(“ID”)),convert.ToString(x(“Age”)),convert.ToString(x(“Money”)) Select x).CopyToDataTable
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Data Table sort some columns | 2 | 66 | July 26, 2024 | |
| Sorting columns without sort datatable activity | 10 | 2997 | January 23, 2022 | |
| How sort column by custom? | 5 | 2772 | April 1, 2021 | |
| How to sort a datatable by two columns? | 4 | 14799 | July 21, 2019 | |
| Custom Sort Multiple Columns | 5 | 2629 | April 21, 2023 |