title: Selected Dropdown using HTML Helpers in mvc 4
body: <p>I need to select the dropdown in html helper. I pass my data in IEnumerable using ViewData please some one help me how to select it with value.</p>
  
  <p>My Code is </p>
  
  <pre><code>@Html.DropDownList("Brand", ViewData["Brand"] as IEnumerable&lt;SelectListItem&gt;, item.BrandMaster, new { @class = "form-control Repeat TableMust"})
  </code></pre>
  
  <p>Here </p>
  
  <ol>
  <li><code>ViewData["Brand"]</code> is my Dropdown list.</li>
  <li>I want to select <code>item.BrandMaster</code> value in dropdown.</li>
  </ol>
  
  <p>But the problem is it's showing the text but it does not contain the value. The value is "" empty, how to select it in html helpers?</p>