And set all the tables and variables.Server=localhost; Database=testdata;
UserId=root; Pwd=;
The same i do with your ListInQuery Example.
I download the file and open it in the program. I change the Data Source en nothing else.
I have the same databaseName with one table with same name as in your example. And the same data in the database.
Maybe the table column is wrong in the database itself?
I added a .sql attachments with the testdata.