在mvc5中将几个项目从DDL发送到控制器 [英] Sending several item from DDL to controller in mvc5

查看:125
本文介绍了在mvc5中将几个项目从DDL发送到控制器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个DDL,我从课程表中填写。



我希望借此机会让我的学生从DDL中选择几个课程项目。每当用户从DDL中选择项目时,我想在DDL下显示项目,在他/她选择了几个项目之后,他们可以通过点击发送底部,发送所有课程都选择了课程和录音信息。



有人可以帮帮我吗?我使用带有C#的Asp.net MVC5。



谢谢

Hi,

I have a DDL that I fill it from my Course table.

I want give this opportunity to my Students to choose several course item from DDL .Each time any user choose item from DDL ,I want to show item under the DDL and after he/she choosed several item ,they could via click Send bottum, send all ltems to courseChoosed table and revcieve message .

Anybody could help me? I use Asp.net MVC5 with C#.

Thanks

推荐答案

使用jquery multiSelect下拉列表



http ://www.aspdotnet-suresh.com/2014/03/jquery-multiselect-dropdown-list-with-checkboxes.html [ ^ ]





http://www.erichynds.com/examples / jquery-ui-multiselect-widget / demos / [ ^ ]
Use jquery multiSelect dropdownlist

http://www.aspdotnet-suresh.com/2014/03/jquery-multiselect-dropdown-list-with-checkboxes.html[^]


http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/[^]


这篇关于在mvc5中将几个项目从DDL发送到控制器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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