I want to select some of the data from a datatable and copy it into another data table. I found the answer in one question - How to query a DataTable in memory to fill another data table
DataTable table = GetDataTableResults();
DataTable results = table.Select("SomeIntColumn > 0").CopyToDataTable();
This code does not work and causes the error -
'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?)
I am using visual studio 2008 and .net 3.5.
