2 回答

TA貢獻(xiàn)1816條經(jīng)驗(yàn) 獲得超4個(gè)贊
ViewBag
ViewBag
IEnumerable<SelectListItem>
@Html.DropDownListFor(m => m.CustomerId, ....)
"Please Select"
IEnumerable<SelectListItem>
Selected
Selected
CustomerID
ViewData
"IEnumerable<SelectListItem>"
@Html.DropDownList("CustomerId", ....)
data-val-*
ViewBag

TA貢獻(xiàn)1789條經(jīng)驗(yàn) 獲得超10個(gè)贊
- 2 回答
- 0 關(guān)注
- 406 瀏覽
添加回答
舉報(bào)