asp问题.急.....

2025-12-16 06:13:43
推荐回答(5个)
回答1:

user 是SQL的保留字,对于保留字要加上[ ]的,例如表名或字段名为ADD就应改为[ADD],

回答2:

rs.open"select * from user where username='"&username&"'",cn,1 ,1

此改成这样就行了

回答3:

rs.open "select * from [user] where [username]='"&username&"'",cn,1,1

回答4:

rs.open "select * from [user] where username='"&username&"'",cn,1

回答5:

rs.open "select * from [user] where u[sername]='"&username&"'",cn,1