Results 1 to 7 of 7

Thread: ListBox Refresh DataSource?

Hybrid View

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

    Re: ListBox Refresh DataSource?

    So try the rest of my advice. Implementing IList and IListSource in the same class is asking for trouble because an IListSource is supposed to be the source of a list, not a list itself.
    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

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    Re: ListBox Refresh DataSource?

    Quote Originally Posted by jmcilhinney View Post
    So try the rest of my advice. Implementing IList and IListSource in the same class is asking for trouble because an IListSource is supposed to be the source of a list, not a list itself.
    But with BindingSource can you give the ListBox a custom list?

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