怎样获取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)
相似回答