下拉列表中的多选 [英] multiselection in dropdown

查看:104
本文介绍了下拉列表中的多选的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单,其中有下拉列表以选择多个项目..如何通过下拉菜单选择多个选项,以便我可以将该选择与该表单的其他实体保存...

i可以选择在下拉列表中创建复选框列表,但我知道如何做到这一点因为我是初学者是asp.net和C#

谢谢

i have a form in which there is dropdown to select multiple items..how can i select multiple option through dropdown so that i can save those selection with other entities of that form...
i have option of creating checkbox list in dropdown but i dnt know how to do that as i am beginer is asp.net and C#
thank you

推荐答案

您可以使用 System.Web.UI.WebControls.ListBox [ ^ ]控制 SelectionMode 属性设置为多个。使用ThePhantomUpvoter链接查看以下链接:

多选DropDownlist [ ^ ]

多选下拉列表 [ ^ ]

ASP.NET中的多选下拉列表 [ ^ ]
You could use the System.Web.UI.WebControls.ListBox[^] control with the SelectionMode property set to Multiple.Along with the link of ThePhantomUpvoter see these links:
Multi Select DropDownlist[^]
Multi selection dropdown[^]
multi-select dropdownlist in ASP.NET[^]


这是一篇文章,可以帮助你.......







http:// www。 dotnetfunda.com/articles/article1591-multiselect-dropdownlist-in-aspnet-using-csharp- 40-.aspx [ ^ ]
Here is an article which help you.............



http://www.dotnetfunda.com/articles/article1591-multiselect-dropdownlist-in-aspnet-using-csharp-40-.aspx[^]


hi,



这里有一些文章这可以帮到你



ASP.NET中的MultiSelect下拉列表 [ ^ ]



使用C#在ASP.NET 4.0中创建多选下拉列表的最简单方法 [ ^ ]







快乐编码:)


here are some articles which may help you

MultiSelect Dropdown in ASP.NET[^]

Easiest way to Create a Multiselect Dropdown in ASP.NET 4.0 using C#[^]



Happy Coding :)


这篇关于下拉列表中的多选的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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