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

📄 resvhotel.aspx

📁 客房预定系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ResvHotel.aspx.cs" Inherits="ResvHotel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>酒店预定</title>
     <link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="60"><table width="755" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="60">&nbsp;</td>
        <td width="740" height="60">
            <asp:Image ID="Image2" runat="server" ImageUrl="~/image/logo.jpg" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="36" bgcolor="#a4c2c2"><table width="755" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="36">&nbsp;</td>
        <td width="740" height="36">
            <table border="0" cellpadding="0" cellspacing="0" style="color: #336666">
                <tr>
                    <td style="width: 100px; color: #336666; height: 12px">
                        <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#336666" NavigateUrl="~/MemLogin.aspx">会员登陆</asp:HyperLink></td>
                    <td style="width: 100px; color: #336666; height: 12px">
                        关于我们</td>
                    <td style="width: 100px; color: #336666; height: 12px">
                        酒店简介</td>
                    <td style="width: 100px; color: #336666; height: 12px">
                        <asp:HyperLink ID="HyperLink3" runat="server" ForeColor="#336666" NavigateUrl="~/index.aspx">返回首页</asp:HyperLink></td>
                </tr>
            </table>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="354" align="left" valign="top" bgcolor="#ffffff"><table width="755" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="230" height="354" align="left" valign="top"><table width="230" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="230" height="240">
                <asp:Image ID="Image1" runat="server" ImageUrl="~/image/mm_lodging_image.jpg" /></td>
          </tr>
          <tr>
            <td height="114" align="left" valign="top"><table width="230" border="0" cellpadding="0" cellspacing="0" bgcolor="#a4c2c2">
              <tr>
                <td width="15" height="114">&nbsp;</td>
                <td width="200" height="114">&nbsp;</td>
                <td height="114" style="width: 15px">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="50" height="354">&nbsp;</td>
        <td width="475" height="354" align="left" valign="top">
            <table border="0" cellpadding="0" cellspacing="0" style="width: 475px">
                <tr>
                    <td style="width: 70px; height: 24px">
                        酒店查询:</td>
                    <td style="width: 405px; height: 24px">
                        酒店名称为:五洲大酒店,友谊饭店,所属城市北京,星级5星</td>
                </tr>
                <tr>
                    <td colspan="2" style="color: #336666; height: 24px; background-color: #a4c2c2">
                        酒店名称:<asp:TextBox ID="tbx_nm" runat="server" BorderStyle="None" Height="12px" Width="60px"></asp:TextBox>
                        所属城市:<asp:TextBox ID="tbx_cty" runat="server" BorderStyle="None" Height="12px" Width="60px"></asp:TextBox>
                        酒店星级:<asp:DropDownList ID="ddl_cls" runat="server">
                            <asp:ListItem Value="1">1星</asp:ListItem>
                            <asp:ListItem Value="2">2星</asp:ListItem>
                            <asp:ListItem Value="3">3星</asp:ListItem>
                            <asp:ListItem Value="4">4星</asp:ListItem>
                            <asp:ListItem Value="5">5星</asp:ListItem>
                        </asp:DropDownList>&nbsp;
                        <asp:LinkButton ID="btn_select" runat="server" OnClick="btn_select_Click">查询</asp:LinkButton></td>
                </tr>
                <tr>
                    <td colspan="2" style="height: 12px">
                        <asp:Panel ID="Panel1" runat="server" Height="50px" HorizontalAlign="Center" Width="475px">
                            请您输入要查询的关键词<br />
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/index.aspx">返回首页</asp:HyperLink></asp:Panel>
                        <asp:Panel ID="Panel2" runat="server" Height="50px" Width="475px">
                            <asp:DataList ID="dl_hotel" runat="server" OnItemDataBound="dl_hotel_ItemDataBound">
                                <ItemTemplate>
                                    <table border="0" cellspacing="2" style="width: 471px">
                                        <tr>
                                            <td style="width: 70px; height: 14px">
                                                酒店名称:</td>
                                            <td style="width: 87px; height: 14px">
                                                <asp:Label ID="htl_nm" runat="server" Text='<%# Eval("Htl_nm") %>'></asp:Label></td>
                                            <td style="width: 70px; height: 14px">
                                                酒店代码:</td>
                                            <td style="width: 70px; height: 14px">
                                                <asp:Label ID="htl_cd" runat="server" Text='<%# Eval("Htl_cd") %>'></asp:Label></td>
                                            <td style="width: 70px; height: 14px">
                                                酒店星级:</td>
                                            <td style="width: 100px; height: 14px">
                                                <asp:Label ID="htl_cls" runat="server" Text='<%# Eval("Htl_cls") %>'></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px; height: 16px">
                                                所属城市:</td>
                                            <td style="width: 100px; height: 16px">
                                                <asp:Label ID="htl_cty" runat="server" Text='<%# Eval("Htl_cty") %>'></asp:Label></td>
                                            <td style="width: 100px; height: 16px">
                                                <asp:HyperLink ID="hp_ResvAcct" runat="server">预定房间</asp:HyperLink></td>
                                            <td style="width: 100px; height: 16px">
                                            </td>
                                            <td style="width: 100px; height: 16px">
                                            </td>
                                            <td style="width: 100px; height: 16px">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="6" style="height: 92px">
                                                <asp:DataList ID="dl_Rm" runat="server">
                                                    <ItemTemplate>
                                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 471px">
                                                            <tr>
                                                                <td style="width: 100px; height: 16px;">
                                                                    房间类型:</td>
                                                                <td style="width: 100px; height: 16px;">
                                                                    <asp:Label ID="rm_nm" runat="server" Text='<%# Eval("Rmtyp_nm") %>'></asp:Label></td>
                                                                <td style="width: 100px; height: 16px;">
                                                                    房间代码:</td>
                                                                <td style="width: 100px; height: 16px;">
                                                                    <asp:Label ID="rm_cd" runat="server" Text='<%# Eval("Rmtyp_cd") %>'></asp:Label></td>
                                                                <td style="width: 100px; height: 16px;">
                                                                    房间价格:</td>
                                                                <td style="width: 100px; height: 16px;">
                                                                    <asp:Label ID="rm_amt" runat="server" Text='<%# Eval("Rmtyp_amt") %>'></asp:Label></td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:DataList></td>
                                        </tr>
                                    </table>
                                    <hr style="color: #a4c2c2" />
                                </ItemTemplate>
                            </asp:DataList></asp:Panel>
                    </td>
                </tr>
            </table>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
    </form>
</body>
</html>

⌨️ 快捷键说明

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