Hi Filippo and Gianni,
For Filippo,
I had already tried your example before I made my original post. The timing differences are significant between listview and PPC table (see attached) and I was hoping for an even better response time using a MySqlDataAdapter to fill a DataTable. However, the times shown in the example are for relatively large queries (11,000 rows) and in the real world, one would hope that queries would be much shorter. By putting a limit of 200 rows on the query, the response was about one second and I think that is OK for now. Maybe a future release might include support for DataSource.
For Gianni,
I think I made a mistake in naming the project MySqlDesktop, but I was following along the lines of the existing SQLite. Except for a few spaces and comma placements, there is no difference in the existing SQLDesktop and SQLDevice source files. Likewise in the MySql wrapper. The same DLL can be used on either the Desktop or Device.
For All,
I will shortly post the MySql wrapper in the Share forum and will change the name to simply MySql.dll, to be used in both the Desktop and Device. I am testing a additional method not in SQLite of GetDate. MySql shows all date fields as yyyy-mm-dd (2009-12-31) and requires this format when inserting or updating, but it returns a string of mm/dd/yyyy + Time. If you show this on a form and the operator changes the date, it will throw an exception error when trying to update. Reader.GetDate will return yyyy-mm-dd.
Thank you for your help Filippo.
Regards,
Ed Sharp