如何使用mvc在dropdownlist中传递两个字段 [英] how to pass two fields in dropdownlist using mvc

查看:91
本文介绍了如何使用mvc在dropdownlist中传递两个字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

我想使用MVC绑定下拉列表中的两个字段。因为我是MVC新手而无法实现该方法。请建议我实现该方法。分享您的建议。

Hi friends,
I want to bind two fields in dropdownlist using MVC.As I am new to MVC am not able to implement that method.please suggest me to implement that method.Share your suggestions.

推荐答案

尝试



http://stackoverflow.com/questions/16845037/reusing-same-dropdownlist-for-multiple-fields -and-populating-with-db-value-mvc4 [ ^ ]



http://stackoverflow.com/questions/12727285/mvc-selectlist-combining-multiple-columns-in-文本字段 [ ^ ]


这篇关于如何使用mvc在dropdownlist中传递两个字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆