📄 hotelsearchfirst.asp
字号:
<!--#include file="conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select DISTINCT province from hotelb "
rs.open sqltext,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK
href="style.css" rel=stylesheet type=text/css>
<title>宾馆查询--第一步</title>
</head>
<body>
<p align="center"> </p>
<p align="center"> </p>
<div align="center" style="width: 760; height: 91">
<center>
<form method="POST" action="HotelSearch.asp">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="50%" height="140">
<tr>
<td width="100%" bgcolor="#008080" height="19"><font color="#FFFFFF">宾馆查询--第一步</font></td>
</tr>
<tr>
<td width="100%" height="74">
<p align="center">选择宾馆所在省份:<select size="1" name="province">
<%
if not rs.eof then
do while not rs.eof %>
<option value="<%=rs("province")%>"><%=rs("province")%></option>
<%
rs.movenext
loop
rs.close
conn.close
end if
%>
</select></p>
</td>
</tr>
<tr>
<td width="100%" height="45">
<p align="center"><input type="submit" value="下一步" name="B1"><input type="reset" value="重置" name="B2"></td>
</tr>
</table>
</center> </form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -