<p>I'm trying to perform a simple LINQ query on the Columns property of a DataTable:</p>

<pre><code>from c in myDataTable.Columns.AsQueryable()
    select c.ColumnName
</code></pre>

<p>However, what I get is this:</p>

<blockquote>
  <p>Could not find an implementation of the query pattern for source type 'System.Linq.IQueryable'. 'Select' not found.  Consider explicitly specifying the type of the range variable 'c'.</p>
</blockquote>

<p>How can I get the DataColumnCollection to play nice with LINQ?</p>

How about:
```
```
var x = from c in dt.Columns.Cast<DataColumn>()
        select c.ColumnName;
```
```