How to orderby on a data table

Hi,

I am trying to orderby the data table based on 3 columns. Could you please help me which activity to use?

@ksrinu070184 @loginerror @prasath17 @mahesh.kumar … Anyone could give me a solution.

@Arabinda_Das

Check below expression
(From x in dt.AsEnumerable() Order By convert.ToString(x(“Column1”)),convert.ToInt32(x(“Column2”)),convert.ToString(x(“dept”)) Select x).CopyToDataTable


Output tested as below

Hope this helps you

Thanks

@Arabinda_Das Use Select Method as below