This is the SQL query im using:
@("SELECT Versionfrom, Versionto, Url FROM $tabledl WHERE dltype=Update")
and i get the error: Error performing query: You have an error in your SQL syntax near 'Update,' at line 1
Try putting single-quotes around 'update' because you want to compare against a string 'update' don't you?
That was my problem!
I was using double quotes and no quotes only, thanks 🙂