title: Error when passing data to my view?
body: <p>I am creating a website in Asp.net MVC. I currently am working on a page that will feature dropdowns that are created based upon a users statistics. To do this, I have set up a <code>@Html.DropDownListFor</code> that uses a increment system to fulfill this randomly generated system. In my Post method, I can get my dropdown values by calling <code>RightsFor_1</code>, and so on as shown below.</p>
  
  <p>My problem is that when I run my program, I get the error stated below occurring on my <code>@Html.DropDownListFor</code> line of code.</p>
  
  <p>Snippit of code in view:</p>
  
  <pre><code>     @for(int i = 0; i &lt; Model.labPermData.Count(); i++)
          {
          &lt;div class="row"&gt;
              &lt;div class="col-md-2"&gt;
                  &lt;b&gt;@Html.DisplayFor(m =&gt; m.labPermData[i].Lab.LabName)&lt;/b&gt; 
              &lt;/div&gt;
              &lt;div class="col-md-2"&gt;
                  @Html.DropDownListFor(m=&gt;"RightsFor_"+m.labPermData[i].Lab.LabName, Model.lpdd, "Select One")
              &lt;/div&gt;
              &lt;div class="col-md-8"&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          }
  </code></pre>
  
  <p>I currently am trying access the values in the controller using this:</p>
  
  <pre><code>        var value1 = Request["RightsFor_0"];
          var value2 = Request["RightsFor_1"];
          var value3 = Request["RightsFor_2"];
          //... and so on
  </code></pre>
  
  <p>Error received:</p>
  
  <blockquote>
    <p>Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions.</p>
  </blockquote>