Getting text associated with checked items in a checkedlistbox control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rob

    Getting text associated with checked items in a checkedlistbox control

    I've been having a problem getting the text associated with checked
    items in a checkedlistbox control-- this article on MSDN shows how to
    do it:



    EXCEPT- it doesnt seem to work when you databind the control to a
    dataset. When you iterate through the checked items, you get
    "system.data.da taview" as the text.

    I finally clued in and changed to a datareader to populate the
    control, and it was fine.

    -IDLETASK
Working...