@Html.DropDownListFor(a => a.ProductName, new List<SelectListItem> { new SelectListItem{ Text="keyboard", Value = "keyboard" }, new SelectListItem{ Text="Mouse", Value = "Mouse" }, new SelectListItem{ Text="Hard Disk", Value = "Hard Disk" }, }, "--Select--")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)