我正在寻找一种合理的理念,将动态数据引入视图以填充下拉列表.为下拉列表和其他"开销"数据创建模型对象或使用viewbag是一个好主意吗?
谢谢
asp.net-mvc html.dropdownlistfor
asp.net-mvc ×1
html.dropdownlistfor ×1