DataTable does not contain definition for AsEnumerable
The method you want is in the System.Data namespace, so that using directive is fine, but you also need a reference to the System.Data.DataSetExtensions assembly. Are you sure you’ve got that reference as an assembly reference? It’s not clear why you’ve got a using directive for a System.Data.DataSetExtensions namespace – does that not raise an … Read more