title: how to add style in Dropdownlistfor helper in mvc?
body: <p>Want to add style with onchange function in dropdownlist my code is something like this :- </p>
  
  <pre><code> @Html.DropDownListFor(m=&gt;m.printEmployeeCardDTO.DataCardConnectionType,null,new {    @onchange="_printEmployeeCard.GetPrintersDetail(this.value, printersList);" },new    { style = "width: 100px;" }  )
  </code></pre>
  
  <p>I m getting error in this. Could anyone help me in it?</p>