Tim, I just used that example to incorporate the WebDatasource interface into my project.
In my webapp I have created a module called ‘BBDD’ that has the ‘BDSource’ property of the type MySQLCommunityServer.
In the listbox, I have incorporated the methods: BuildQuery, ColumnData, RowCount, RowData and SortedPrimaryKeys.In all of them I have replaced the property ‘db’ (of the type SQLiteDatabase of the example) by my property ‘BDSource’.
So far everything is perfect but the problem is in the final step. I have to feed the listbox with the data. In the example this code is used:
Me.DataSource = Self
And right in compiling the example is where I get in error:
Type mismatch error. Expected interface WebDataSource, but got class ExperimentPage.ExperimentPage, lbExperimentos.DataSource = Self
What do I have to put instead of using ‘Self’?
Thank you very much.
Sergio