Results 1 to 2 of 2

Thread: bind a datasource to a checkedListBox

  1. #1

    Thread Starter
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    bind a datasource to a checkedListBox

    How can I bind the checkedListBox to a datasource


    I don't see the DataSource,DataTextField,DataValueField properties for the winform version.

    I'm using express 2005 - could this be the reason ????

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: bind a datasource to a checkedListBox

    The CheckedListBox control doesn't support data-binding. You'll just have to add each item to the list yourself. Of course, you can always inherit the CheckedListBox and add the functionality yourself.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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