title: how can i get the selected text from dropdownlistfor
body: <p>i have a model :</p>
  
  <pre><code>    public class studentmodel
          {
              public int id { get; set; }
              public string name { get; set; }
          }
  </code></pre>
  
  <p>i populate my dropdown :</p>
  
  <pre><code>        // GET: dropdown/Test
  
      public ActionResult Index()
          {
              List&lt;SelectListItem&gt; list = new List&lt;SelectListItem&gt;();
              {
                  list.Add(new SelectListItem { Text = "saurav", Value = "1"});
                  list.Add(new SelectListItem {Text = "Rj", Value = "2" });
                  list.Add(new SelectListItem {Text = "rahul", Value = "3" });
                  ViewBag.studentlist = list;
              }            
              return View();
          }
          [HttpPost]
          public ActionResult Index(studentmodel s)
          {          
              return View();
          }
  </code></pre>
  
  <p>i have a controller action which is postback:</p>
  
  <pre><code>@using (Html.BeginForm("Index", "Test", FormMethod.Post))
          {
              @Html.DropDownListFor(m =&gt; m.name, (IEnumerable&lt;SelectListItem&gt;)ViewBag.studentlist, "select student");
  
              &lt;div&gt;
                  &lt;input type="submit" value="submit" /&gt;
              &lt;/div&gt;       
                  &lt;div&gt; you have selected : @ViewBag.selected &lt;/div&gt;        
          }       
  </code></pre>
  
  <p>How do i get the text from my drop down list? Thanks</p>