I'm trying to perform a LINQ query on a DataTable object and bizarrely I am finding that performing such queries on DataTables is not straightforward. For example:
var results = from myRow in myDataTable
where results.Field("RowNo") == 1
select results;
This …
How can I load a CSV file into a System.Data.DataTable, creating the datatable based on the CSV file?
Does the regular ADO.net functionality allow this?