title: Unable to cast object of type 'System.Double' to type 'System.String' linq query
body: <p>I'm new to Linq, the below line gives me "Unable to cast object of type 'System.Double' to type 'System.String'". How can I resolve it?</p>
  
  <pre><code>dt.AsEnumerable().Where(dataRow =&gt; !string.IsNullOrEmpty(dataRow.Field&lt;string&gt;(dc.ColumnName).First().ToString()) &amp;&amp; (dataRow.Field&lt;int&gt;(dc.ColumnName) == 1)).Count() &gt; 3
  </code></pre>
  
  <p>I'm querying a DataTable column.</p>