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

<!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 id="Head1" runat="server">
    <title>房间管理</title>
    <script language="javascript" src="js/Web25175_Hotel2.v1.1.js" type="text/javascript"></script>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
    
</head>
<body>
    <form id="form1" runat="server" autocomplete="off">
        <asp:HiddenField ID="HFID" runat="server" />
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblInsert" runat="server" Text="添加"></asp:Label>
                <asp:Label ID="lblUpdate" runat="server" Text="修改"></asp:Label>
            </div>
        </div>
        <table class="OperateTable">
            <tr class="FFtr" visible="false" runat="server" id="t1">
                <td class="left" style="height: 30px" >
                    房号：</td>
                <td style="height: 30px">
                   <asp:TextBox ID="txtCode" runat="server" CssClass="textbox"></asp:TextBox>
                    <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorCode1" runat="server" ControlToValidate="txtCode" ErrorMessage="请填写：房号" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr" visible="false" runat="server" id="t2">
                <td class="left">
                    房号：</td>
                <td>
                    标识<asp:TextBox ID="TextBox3" runat="server" CssClass="textbox" Width="27px"></asp:TextBox>
                    从<asp:TextBox ID="TextBox1" runat="server" CssClass="textbox" Width="90px" BorderColor="#FF8080"></asp:TextBox>
                    到<asp:TextBox ID="TextBox2" runat="server" CssClass="textbox" Width="90px"></asp:TextBox>结束
                   <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="请填写：房号" Display="None"></asp:RequiredFieldValidator>
            </td></tr>
            <tr class="F7tr">
                <td class="left">房间类型：</td>
                <td>
                   <asp:DropDownList ID="ddlRoomTypeID" runat="server" CssClass="dropdownlist"></asp:DropDownList>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorRoomTypeID1" runat="server" ControlToValidate="ddlRoomTypeID" ErrorMessage="请选择：房间类型" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">楼栋：</td>
                <td>
                   <asp:TextBox ID="txtBuilding" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">楼层：</td>
                <td>
                   <asp:TextBox ID="txtFloor" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">电话：</td>
                <td>
                   <asp:TextBox ID="txtTel" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">门锁码：</td>
                <td>
                   <asp:TextBox ID="txtDoorLockCode" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">备注：</td>
                <td>
                   <asp:TextBox ID="txtRemark" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">状态：</td>
                <td>
                        <asp:DropDownList ID="txtState" runat="server" CssClass="dropdownlist">
                            <asp:ListItem Value="空房">空房</asp:ListItem>
                            <asp:ListItem Value="占用房">占用房</asp:ListItem>
                            <asp:ListItem Value="打扫房">打扫房</asp:ListItem>
                            <asp:ListItem Value="预订房">预订房</asp:ListItem>
                            <asp:ListItem Value="维修房">维修房</asp:ListItem>
                            <asp:ListItem Value="停用房">停用房</asp:ListItem>
                            <asp:ListItem Value="长包房">长包房</asp:ListItem>
                        </asp:DropDownList>

                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorState1" runat="server" ControlToValidate="txtState" ErrorMessage="请选择：状态" Display="None"></asp:RequiredFieldValidator>


                </td>

            </tr>
            <tr class="FFtr">
                <td class="left">排序：</td>
                <td>
                   <asp:TextBox ID="txtSort" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorSort1" runat="server" ControlToValidate="txtSort" ErrorMessage="请填写：排序" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
        </table>
        <table id="OperateButton">
            <tr>
                <td class="left">
                    </td>
                <td style="width: auto; text-align: left;">
                    <asp:Button ID="btnInsert" runat="server" OnClick="btnInsert_Click" Text="添加" CssClass="btn" />
                    <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="修改" CssClass="btn" />
                    <asp:Button ID="btnClose" runat="server" OnClick="btnClose_Click" Text="关闭" CssClass="btn" ValidationGroup="B" /></td>
            </tr>
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    </form>
</body>
</html>
