There are VB syntax errors (missing operators) in the query expressions username = "content "and where password = "content".
Sql = "select * from dlqx where User Name =' "&; Text 2. Text & where password =' "&;; Text 1。 Text & "
This is the problem. Just change the back and where.