驱动错在那里了?
郁闷我N天的问题!急求大师帮忙
看看错在哪里了?
<%
dim xh,rs,sousuo
if Request.Form("action")="true" then
xh=request.Form("xuehao")
Set rs=Server.CreateObject("adodb.recordset")
sql="select * from student where xuehao="& xh &""
rs.Open sql,conn,1,1
if rs.eof then
sousuo=false
else
sousuo=true
End if
rs.close
conn.close
end if
%>
<% if sousuo=true then
Response.Redirect("sousuo_result.asp?xuehao="&xuehao)
else
Response.Redirect("sousuo.asp")
end if
%>