C# WebCam Windows Service
(May 9, 2003)
Accessing text of items in CheckedListBox
(April 25, 2003)
Microsoft recomends to use the code below to access the text associated with individual items of a CHECKEDLISTBOX control:
String s = checkedListBox1.Items[0].ToString()
" UNFORTUNATELY IT NEVER WORKS" it just returns "System.Data.DataRowView".
So my workaround was to trap the TEXT associated with the individual Checklists within a CHECKEDLISTBOX when ever the user makes any changes to the CHECKEDLISTBOX using the
SelectedValue and the
SelectedIndexChanged event and storing them in an array





