在MVC C#中使用SQL Server多选下拉列表# [英] Multi Select Drop Down List with SQL Server in MVC C#
本文介绍了在MVC C#中使用SQL Server多选下拉列表#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都有示例代码或建议,如何在MVC C中从sql server获取数据时创建多选下拉列表#
Any one have the sample code or suggestions, how to create multiselect dropdownlist while fetching the data from sql server in MVC C#
推荐答案
嘿,
请参阅此链接以获取多选下拉菜单。
http://rvieiraweb.wordpress.com/2013/04/20/mvc-4-dropdownlist-with-multiselect-values / [ ^ ]
你可以在MVC中使用'MultiSelectList',同时传递给DropDownList。
希望这会对你有所帮助。微笑| :)
--SDK
Hey,
Please refer this link for multi-select dropdown.
http://rvieiraweb.wordpress.com/2013/04/20/mvc-4-dropdownlist-with-multiselect-values/[^]
You can use 'MultiSelectList' in MVC while passing to DropDownList.
Hope this will help you. Smile | :)
--SDK
这篇关于在MVC C#中使用SQL Server多选下拉列表#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文