11智能在线
新记
怎样获取checkedListBox 中选中的项的文本
如题所述
举报该文章
其他看法
第1个回答 2015-03-08
string output = string.Empty;
for (int i = 0; i < checkedListBox1.CheckedIndices.Count; i++)
{
output += checkedListBox1.Items[
checkedListBox1.CheckedIndices[i]].ToString() + "\r\n ";
}
MessageBox.Show(output);
本回答被提问者和网友采纳
第2个回答 2015-03-08
MsgBox(CheckedListBox1.SelectedItem.ToString)
相似回答
大家正在搜
相关问题
如何从checkedboxlist的被选中项中获得该项名称
在c#winform中怎样获取checklistbox选中的...
C#中怎样获取checkedListBox选中的索引的集合
vb获取listbox中所有选中行的文本
怎么取CheckedListBox选中项的value值
c# checklistbox 如何取选择的值?例如:我选择...
求用c#编一个程序把CheckedListBox上选到的选项...
winform checkedlistbox 把选中项的值附...