⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 city_query.asp

📁 ASP程序实现的酒店预定系统
💻 ASP
字号:
<!--#include file="../Include/AdoConn.asp"-->
<html>
<head>
<title>城市查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/Css/All.css">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="80%" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
  <tr>
    <td width="81" valign="top"><img src="../Images/help.jpg" width="80" height="200"></td>
    <td valign="top" bgcolor="#FFFFFF"> 
      <table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
        <form name="form1" method="post" action="City_List.asp?query=query">
          <tr> 
            <td height="27" align="center"> 城 市 信 息 查 询</td>
          </tr>
          <tr> 
            <td height="151" bgcolor="#FFF5D9" align="center"> 
              <table width="90%" border="1" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="5" colspan="2"></td>
                </tr>
                <tr> 
                  <td height="25"><font size="2">城市名称</font></td>
                  <td height="25"> 
                    <input type="text" name="cityname" maxlength="20" size="17">
                    <font size="2">(中文)</font> </td>  
                </tr>  
                      <%  
		  '取出所有省  
		  strsql="select * from xt_td_sheng order by 中文省名"  
		  set rst1=conn.execute(strsql)  
		 %>  
                <tr>   
                  <td height="25"><font size="2">所在省</font></td>  
                  <td height="25">   
                    <select name="select2">  
                      <option value=""></option>  
<%		  do while not rst1.eof  
		%>  
                      <option value="<%=rst1("中文省名")%>"><%=rst1("中文省名")%></option>  
                      <%rst1.MoveNext   
		loop  
		rst1.close  
%>  
                    </select>  
                  </td>  
                </tr>  
                <tr>   
                  <td height="25"><font size="2">区号</font></td>  
                  <td height="25">   
                    <input type="text" name="QuHao" size="17" maxlength="4">  
                  </td>  
                </tr>  
                <tr>   
                  <td height="25"><font size="2">邮编</font></td>  
                  <td height="25">   
                    <input type="text" name="YouBian" size="17" maxlength="6">  
                  </td>  
                </tr>  
                <tr>   
                  <td height="25"><font size="2">模糊查询</font></td>  
                  <td height="25">   
                    <input type="checkbox" name="checkbox" value="checkbox">  
                  </td>  
                </tr>  
                <tr align="center">   
                  <td colspan="2" bgcolor="#FFFFFF">   
                    <font size="2">   
                    <input style="BACKGROUND-COLOR:#FFCC00;color:#000000;" type="submit" name="Submit" value="查  询" class="buttonnew">&nbsp;&nbsp; 
                    <input style="BACKGROUND-COLOR:#FFCC00;color:#000000;" name="Submit2" value="重  置" class="buttonnew" type="reset">  
                    </font>  
                  </td>  
                </tr>  
              </table>  
            </td>  
          </tr>  
          <tr>  
            <td height="5" bgcolor="#FFF5D9">   
              
            </td>  
          </tr>  
        </form>  
      </table>  
  
    </td>  
  </tr>  
</table>  
</body>  
</html>  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -