如何将Dropdownlist与MVC 3中的文本框和复选框等其他控件绑定 [英] How to bind Dropdownlist with some other controls like textbox and check box in MVC 3
本文介绍了如何将Dropdownlist与MVC 3中的文本框和复选框等其他控件绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将Dropdownlist与MVC 3中的文本框和复选框等其他控件绑定。
请提供一些示例。
How to bind Dropdownlist with some other controls like textbox and check box in MVC 3.
Please provide some example.
推荐答案
我已经发布了一个用于绑定Dropdown的示例。请尝试使用
使用部分视图在mvc中绑定下拉列表 [ ^ ]
希望这有助于
I have posted a sample for binding Dropdown.Please try that
Bind Dropdown in mvc using Partial View[^]
Hope this helps
这篇关于如何将Dropdownlist与MVC 3中的文本框和复选框等其他控件绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文