主题:求助:关于recordset.close的问题?
sql="select username from sheshi1 where username='"&username&"'"
ASO.Open sql,conn,1,1
if ASO.RecordCount<>0 then
Response.write "名字已占用"
response.end
end if
ASO.close
sql1="insert into sheshi1(username,password1) values('"&username&"','"&password1&"')"
ASO.Open sql1,conn,1,3
Response.write "写入成功"
ASO.Close
请问这个程序段错在哪里?
ASO.Open sql,conn,1,1
if ASO.RecordCount<>0 then
Response.write "名字已占用"
response.end
end if
ASO.close
sql1="insert into sheshi1(username,password1) values('"&username&"','"&password1&"')"
ASO.Open sql1,conn,1,3
Response.write "写入成功"
ASO.Close
请问这个程序段错在哪里?