I am trying to change a column’s data type to double by using .NET code something similar below but which doesn’t sort it additionally. Plus the code below gives me the error as
“Assign: Input string was not in a correct format.”
The code that I am using:
(From row In dtTest.Select Order By Convert.ToDouble(row(“ASP”)) Descending Select row).ToArray.CopyToDatatable()
If you have other practical solution which doesn’t include for loop, they are welcome.