set rs=server.CreateObject("adodb.recordset")
之间加上
set pa=conn.execute("select 学号 from students where 学号='"&upload.objform("sn")&"'")
if not (pa.eof and pa.bof) then
response.write "学号已经存在"
response.end
end if
pa.close
欢迎分享,转载请注明来源:夏雨云
set rs=server.CreateObject("adodb.recordset")
之间加上
set pa=conn.execute("select 学号 from students where 学号='"&upload.objform("sn")&"'")
if not (pa.eof and pa.bof) then
response.write "学号已经存在"
response.end
end if
pa.close
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)