如何从DropDrown列表中获取所选项目

问题描述:

我使用jquery插件

http://harvesthq.github.io/chosen/ [ ^ ]


在DropDownlist的Gridview中






现在我想获得多个选中的项目



I have use jquery plugin
http://harvesthq.github.io/chosen/[^]


in Gridview on DropDownlist

now i want to get those item which are multiple selected

foreach (ListItem item in drop.Items)
           {

               if (item.Selected)
               {


                   Item += "," + item.Value;
               }
           }





但这个循环总是给我第一个选中的值



请帮助获取所有值



but this loop always gives me 1st value which is selected

please help to get all values

我忘了选择Mode propery
I forgot to selection Mode propery

>