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?
Re:Trouble with lists and DataSource
[Originally posted by yoshi]
its because listbox dont have a method "datasource"
try using datagrid or mshflexgrid
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL