29 Jan 2018 by OriginalGriff
Your syntax error is obvious: List() = MyClass... You need to name the variable, and get rid of the brackets: List myList = MyClass... But... as debasish suggested, passing an SQL command as text is very dangerous: it exposes you to SQL Injection if you aren't very, very...