title: Web pages Razor 2 - how to keep selected option after postback
body: <p>So I have this little cshtml page in a .NET 4.0 ASP.NET Web Pages Razor v2 solution.</p>
  
  <pre><code>@{
      Layout = "~/_SiteLayout.cshtml";
      Page.Title = "News For All Crew";
  
      var db = Database.Open("ConnectionString");    
      var departmentsQry = "select Name from Info_Department_Names IPN order by Name";       
  }
  
  &lt;form method="post" action=""&gt;
      &lt;select id="selectStation" name="selectStation" onchange="this.form.submit();"&gt;
          @foreach (var dept in db.Query(departmentsQry))
          {
              &lt;option value="@dept.Name"&gt;@dept.Name&lt;/option&gt;
          }
      &lt;/select&gt; 
  &lt;/form&gt;
  </code></pre>
  
  <p>When a user selects an option, I would like it to remain select after postback. How do I do this?</p>