<!-- #include file="head.asp" -->
<%
Dim SearchKey,SearchType
SearchKey=Trim(Request("s1"))
SearchType=Trim(Request("s2"))
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<%
Set oRs3 = Server.CreateObject( "ADODB.Recordset" )
sSql="Select * From PictureData Where Q11='中档型'"
oRs3.Open sSql,oConn,1,1
%>
<%
if not oRs3.eof then
%>
<%=oRs3("Q11")%>
<%
else
response.write SearchType
%>
<%
end if
oRs3.close
%>
</body>
</html>
我想用SearchType这个变量代替上面查询语句的'中档型'请问怎么书写。我试过很多方法都出错。