title: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key "student". error
body: <p>Iam using ASP.Net MVC3 Razor, </p>
  
  <p>I have a controller where i binded the data    </p>
  
  <pre><code>public Actionresult Index()
      {
          ViewBag.student= new SelectList(db.Collection, "ID", "Name"); 
  ViewBag.student1= new SelectList(db.Collection, "ID", "Name"); 
  return view(); 
    }
  </code></pre>
  
  <p>This is my view</p>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;
      &lt;td&gt;
      @Html.DropDownList("student")
  
      &lt;/td&gt;
      &lt;td&gt;
  
      @Html.DropDownList("student1")
      &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>What is the problem in my code, could any one help me ...
  Thanx in advance..</p>