@Html.DropDownList("TnDscode",null,new{@id="cmbTnDscode" ,@size="1.2"})
ViewBag.TnDscode = new SelectList(db.Districts, "DsCode", "DsName");
document.getElementById("cmbTnDscode").value="Mumbai";
document.getElementById('cmbTnDscode').value = 'DsCode value'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)