public ActionResult Index() { ViewBag.TPA_IPD_ITEM_TPA_CODE = m.HISWEB_TPA_IPD_ITEM_SETUP.ToList(); ViewBag.TPA_IPD_ITEM_TPA_CODE = new SelectList(m.HISWEB_TPA_IPD_ITEM_SETUP, "TPA_IPD_ITEM_TPA_CODE", "TPA_IPD_ITEM_TPA_CODE"); return View();
<div class="form-group"> @Html.LabelFor(model => model.TPA_IPD_ITEM_TPA_CODE, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-4"> @Html.DropDownList("TPA_IPD_ITEM_TPA_CODE", "Select") @Html.ValidationMessageFor(model => model.TPA_IPD_ITEM_TPA_CODE, "", new { @class = "text-danger" }) </div> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)