select case caozuo
case "select":
sql="select 积分 from 用户 where 登录账号='"&username&"' and 登录密码='"&userpass&"'"
response.Write(hbwl.dbShsl(sql))
'response.Write(sql)
case "update":
hbwl.conn.execute("update 用户 set 积分=积分-300 where 登录账号='"&username&"' and 登录密码='"&userpass&"'")
response.Write("True")
case "":
response.Write("<script>parent.location.href='index.asp';</script>")
end select