title: Get value from "Var" variable
body: <p>I'm trying to get a row from my SQL Server database. I don't know how to get it I tried many ways but I coludn't get any good solution. </p>
  
  <pre><code>databasEntities db = new databasEntities();
  var medlem = from medlemar in db.medlemar
               where medlemar.namn == "Ali"
               select medlemar;
  </code></pre>
  
  <p>Here is my database table <code>Medlemar</code>:</p>
  
  <ul>
  <li>id</li>
  <li>namn</li>
  <li>losen</li>
  <li>epost</li>
  </ul>