tnjk.net
当前位置:首页 >> C#中如何获取listBox的多选的值(实际值VAluEMEmBEt) >>

C#中如何获取listBox的多选的值(实际值VAluEMEmBEt)

/// /// 取ListBox选中项id /// /// id数组 private int[] GetIDS() { int[] id = new int[listBox1.SelectedIndices.Count]; for (int i = 0; i < listBox1.SelectedIndices.Count; i++) { id[i] = (int)listBox1.SelectedIndices[i]; } return...

网站首页 | 网站地图
All rights reserved Powered by www.tnjk.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com