title: How to get DropDownList SelectedValue in Controller in MVC
body: <p>I have dropdownlist, which I have filled from database. Now I need to get the selected value in Controller do some manipulation. But not getting the idea. Code which I have tried.</p>
  
  <h2>Model</h2>
  
  <pre><code>public class MobileViewModel 
  {          
      public List&lt;tbInsertMobile&gt; MobileList;
      public SelectList Vendor { get; set; }
  }
  </code></pre>
  
  <h2>Controller</h2>
  
  <pre><code> public ActionResult ShowAllMobileDetails()
      {
          MobileViewModel MV = new MobileViewModel();
          MV.MobileList = db.Usp_InsertUpdateDelete(null, "", "", null, "", 4, MergeOption.AppendOnly).ToList();
          MV.Vendor = new SelectList(db.Usp_VendorList(), "VendorId", "VendorName");
          return View(MV);
      }
  
      [HttpPost]
      public ActionResult ShowAllMobileDetails(MobileViewModel MV)
      {           
          string strDDLValue = ""; // Here i need the dropdownlist value
  
          return View(MV);
      }
  </code></pre>
  
  <h2>View</h2>
  
  <pre><code>   &lt;table&gt;           
          &lt;tr&gt;
              &lt;td&gt;Mobile Manufacured&lt;/td&gt;
              &lt;td&gt;@Html.DropDownList("ddlVendor", Model.Vendor, "Select Manufacurer") &lt;/td&gt;
          &lt;/tr&gt;         
          &lt;tr&gt;
              &lt;td&gt;
  
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;input id="Submit1" type="submit" value="search" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  </code></pre>