<p>Districts: @Html.DropDownList("DsCode", String.Empty )</p> <p>Towns: @Html.DropDownList("TnCode",String.Empty )</p>
ViewBag.DsCode = new SelectList(db.Districts, "DsCode", "DsName"); ViewBag.TnCode = new SelectList(db.Towns, "TnCode", "TnName");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)