Private Sub Command1_Click()
Adodc2.CommandType = adCmdTable
Adodc2.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=学院学籍管理;Data Source=D717ADC39E0C471"
Adodc2.RecordSource = "select * from chengjiQuery where 学生号='" + Combo1.Text + "'"
Adodc2.Refresh
End Sub
请教高手SQL语法哪里错误,经常出现此错误。希望有人能帮我。