<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Web25_RoomState_YD_Window.aspx.cs" Inherits="Web25175_Hotel2.Web.Web25_RoomState_YD_Window" %>

<!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>
    <script language="javascript" src="js/Web25175_Hotel2.v1.1.js" type="text/javascript"></script>
    <script language="javascript" src="js/Web25175_Hotel2.calendar.js" type="text/javascript"></script>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.rt
{
   width:400px;
    background-color: #CCCCCC;
    border: 1px solid #333333;
   padding:2px;
   top:0px;
   left:0px;
}
.rt table
{
	border-collapse:collapse;
    border: 1px solid #333333;
}
.rt .yh td
{
      background-color: #2E70A4;
      color:#ffffff;
    border: 1px solid #17486E;
}
.rt table td
{
    border: 1px solid #333333;
    line-height:18px;
    height:18px;
    padding:2px;
 background-color: #F7F7F7;
}
</style>
</head>
<body>

    <form id="form1" runat="server">
        <div class="rt">
         <div>
         <div style="position:relative; height:23px; overflow:hidden">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="yh">
          <tr>
            <td style="width:16px;">选</td>
            <td style="width:80px;">姓名</td>
            <td style="width:150px;">预抵时间</td>
            <td>联系电话</td>
          </tr>
        </table>
        </div>
        <div style="overflow:auto; height:138px; padding-top:1px;position:relative; top:-2px">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <asp:Repeater ID="rpt_order" runat="server">
          <ItemTemplate>
          <tr>
            <td style="width:16px"><asp:CheckBox ID="chk" runat="server" />
            <asp:HiddenField ID="OrderID" runat="server" Value='<%#Eval("ID") %>' />
            </td>
            <td style="width:80px"><%#Eval("Name") %></td>
            <td style="width:150px"><%#Eval("InTime") %></td>
            <td><%#Eval("Tel") %></td>
          </tr>
          </ItemTemplate>
         </asp:Repeater>
         <% if(this.rpt_order.Items.Count==0) {%>
          <tr>
            <td colspan="3" style="text-align:center">无</td>
          </tr>
         <%} %>
        </table>
        </div>
         </div>

        </div>
         <div style="text-align:center; white-space:2px; padding-top:5px; width:420px;">
         <asp:Button ID="btnOK" runat="server" Text="确定" CssClass='btn' OnClick="btnOK_Click" />
            <asp:Button ID="btnNO" runat="server" Text="取消"   CssClass='btn' OnClick="btnNO_Click"/>
            </div> 
    </form>
</body>
</html>
