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

<!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>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
     <asp:HiddenField ID="HFID" runat="server" />
        <div class="OperateTitle">
            <div>
                更换房间
            </div>
        </div>
        <table class="OperateTable" style="position:relative; z-index:99">
            <tr class="F7tr">
                <td class="left">原房间：</td>
                <td>
                   <asp:TextBox ID="txtRoomCode" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorRoomCode1" runat="server" ControlToValidate="txtRoomCode" ErrorMessage="请填写：原房间" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">调整为：</td>
                <td>
                   <asp:TextBox ID="txtNewRoomCode" runat="server" CssClass="textbox" AutoPostBack="True" OnTextChanged="txtNewRoomCode_TextChanged"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorRoomType1" runat="server" ControlToValidate="txtNewRoomCode" ErrorMessage="请填写：调整为" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">
                </td>
                <td>
                    <asp:RadioButtonList ID="lbtnType" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
                        RepeatLayout="Flow" OnSelectedIndexChanged="lbtnType_SelectedIndexChanged">
                        <asp:ListItem Selected="True" Value="1">同类房调换</asp:ListItem>
                        <asp:ListItem Value="2">非同类房调换</asp:ListItem>
                    </asp:RadioButtonList></td>
            </tr>
            <tr class="F7tr">
                <td class="left">房价：</td>
                <td>
                    <asp:TextBox ID="txtRoomPrice" runat="server" CssClass="textbox"></asp:TextBox>
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left"></td>
                <td>
                    <asp:CheckBox ID="chkIsOldToNew" runat="server" Text='将原房间费转到目标房' />
                </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" />&nbsp;
                    <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>
