<%
if trim(request("keyword"))<>""then
response.Write"搜索条件为<font color='#FF0000'>"
select case request("select")
case "title"
xuanzhe="书名"
case "author"
xuanzhe="作者"
case "bookid"
xuanzhe="编号"
end select
response.Write xuanzhe
response.Write"</font>,关键字为<font color='#FF0000'>"&request("keyword")&"</font>"
response.Write"的图书,记录数共 <font color='#FF0000'>"&rs.recordcount&"</font>"
response.Write"个,信息如下:<p>"
if rs.eof and rs.bof then
response.Write"当前没有你要找的书!"
response.End
end if
response.Write"<table border='1'>"
response.Write"<tr><td><b>编号</b></td><td><b>名称</b></td>"
response.Write"<td><b>作者</b></td></tr>"
do while not rs.eof
response.Write"<tr><td><b>"&rs("bookid")&"</b></td><td><b>"&rs("title")&"</b></td>"
response.Write"<td><b>"&rs("author")&"</b></td></tr>"
rs.movenext
loop
response.Write"</table>"
end if
%>
当年话下
相关分类