Results 1 to 6 of 6

Thread: Databinding CheckBoxList/Radioboxlist selection property

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2000
    Location
    Europe, Lithuania
    Posts
    309

    Resolved Databinding CheckBoxList/Radioboxlist selection property

    Hello,

    I bind dataset to a CheckBoxList and radioboxlist (they are created dynamicaly, so I can't use databindings property).


    To bind text and value properties I use:

    _item.DataTextField = "Text"
    _item.DataValueField = "Value"


    Also I have column "Selected" (1/0)

    How to set items' selected status depending on this data?

    Like _item.SlelectedValueField = "Selected"

    Unfortunately there is no such function.

    What to do?
    Last edited by Norkis; Dec 1st, 2004 at 02:02 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width