title: DropDownList value into Linq query where clause
body: <p>I am facing following problem. I want a search field with a DropDowList next to it, where user can pick an item for which he wants to search. I have to make it with this LINQ code not just a SQL query.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>var Metadata = from m in db.Metadatas
      join mm in db.Multimedias
      on m.multimediaID equals mm.multimediaID
      where (m.   { Here would i have the selected value from the dropdownlist. } .ToString().Contains(textboxvalue) ||
             mm.  { Here would i have the selected value from the dropdownlist. } .ToString().Contains(textboxvalue))
             &amp;&amp; mm.filetype.ToString().Contains(radiobuttonvalue)
  </code></pre>
  
  <p>I want to put something like: "Dropdownlist.selectedvalue" into the area { Here would i have the selected value from the dropdownlist. }</p>
  
  <p>I hope you guys understand my idea and problem.</p>