终于搞定!!!
把select top 1 userid,mark,grade,type,userinfo,topicnum,qian from [YW_User] where name='"&username&"' and pswd='"&userpwd&"'
and not del
改为
select top 1 userid,mark,grade,type,userinfo,topicnum,qian from [YW_User] where name='"&username&"' and pswd='"&userpwd&"' and
del=0
就可以了,原来在SQL中是不能用not的,呵呵!!!
谢谢两位的热心!!!
[[it] 本帖最后由 towering 于 2008-10-23 15:32 编辑 [/it]]