在网格视图列表框中如何选择多个项目 [英] In grid view List box how to select the multiple items

查看:70
本文介绍了在网格视图列表框中如何选择多个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在网格视图中我添加了列表框。但是它不允许选择多个项目.....



请帮助如何从网格视图中的列表框中选择多个项目....

解决方案

设置 ListBox.SelectionMode属性 [< a href =http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listbox.selectionmode(v=vs.110).aspx\"target =_ blanktitle =New窗口> ^ ]到多个

 SelectionMode =Multiple


Hi,

In grid view I added the list box.But it is not allowing to select the multiple items.....

Please help how to select the multiple items from list box in grid view....

解决方案

Set ListBox.SelectionMode Property[^] to Multiple.

SelectionMode="Multiple"


这篇关于在网格视图列表框中如何选择多个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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