Trouble with lists and DataSource


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Trouble with lists and DataSource

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Trouble with lists and DataSource

    [Originally posted by Thomas Stiegler]

    i have a list that uses a datasource and i want to be able to change the DataSource during runtime.

    the code im using to change the datasource is:

    If lsttype.ListIndex = 0 Then lstquerie.DataSource = Data1

    when i run that is gives me this "Method or data member not found" error.

    any help? please?

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Trouble with lists and DataSource

    [Originally posted by yoshi]

    its because listbox dont have a method "datasource"

    try using datagrid or mshflexgrid


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center