I tried to sort the data. To do this, you sort it and then copy the sorted into datatable, as shown here - How to query a DataTable in memory to populate another data table
code -
DataTable table = GetDataTableResults(); DataTable results = table.Select("SomeIntColumn > 0").CopyToDataTable();
In the visual studio, I see a mistake -
'System.Array' does not contain a definition for 'CopyToDataTable' and no extension method 'CopyToDataTable' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?)
How to fix it?
Steam source share