Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Scenerio 可以从列表框中选择单个值,可以禁用多项选择
Html.ListBox("Employees",ViewData["Employees"] as SelectList)
第二如何在编辑时显示结果??????
I have a Scenerio to Select single value from the list box, it is possible to disable multiple selection
Use a DropDownList instead of ListBox if you want single selection.