title: Linq Query Passing Select Statement as a Parameter
body: <p>I have a list that contains the names of controls on a form and I recurse thru that with a foreach.  In the foreach I marry up the data with the control it belongs in and I keep getting an error.  Basically the one list is being used to generate the select statement. Any Help is appreciated!</p>
  
  <pre class="lang-cs prettyprint-override"><code>DatabaseField = item.DatabaseField.ToString();
  DatabaseValue = SelectOutput.Select(item.DatabaseField).FirstOrDefault();
  </code></pre>