title: Select a ListItem from DropDownList using a Linq Query
body: <p>I' trying to use a Linq query to find and set the selected value in a drop down list control.</p>
  
  <pre><code> Dim qry = From i In ddlOutcome.Items _
             Where i.Text.Contains(value)
  
  
   Dim selectedItem As ListItem = qry.First
  
   ddlOutcome.SelectedValue = selectedItem.Value
  </code></pre>
  
  <p>Even though the documentation says that the DropDownList.Items collection implements IEnumerable I get an error in the Where clause that Option Strict ON disallows late binding!</p>