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

📄 roommanage.aspx

📁 酒店管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="roomManage.aspx.cs" Inherits="roomManage" %>

<!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" type="text/javascript">
// <!CDATA[

function showAdd(){
    if(eval("addRoom"+1).style.display=="block"){
     eval("addRoom"+1).style.display="none";
     eval("addRoom"+2).style.display="block";
     }
}

function cancelAdd(){
     if(eval("addRoom"+2).style.display=="block"){
     eval("addRoom"+2).style.display="none";
     eval("addRoom"+1).style.display="block";
     }
}
// ]]>
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table id="addRoom1" style="display: block">
            <tbody>
                <tr>
                    <td>
                        <img id="IMG1" onclick="return showAdd()" src="pic/addnewroom.jpg" />
                    </td>
                </tr>
            </tbody>
        </table>
        <table id="addRoom2" style="display: none">
            <tbody>
                <tr>
                    <td style="width: 685px">
                        <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/pic/saveroom.jpg" OnClick="ImageButton1_Click" />&nbsp;
                        <img onclick="return cancelAdd()" src="pic/delroom.jpg" />&nbsp;
                        <asp:Table ID="Table1" runat="server">
                            <asp:TableRow ID="TableRow1" runat="server">
                                <asp:TableCell ID="TableCell7" runat="server" Width="50px">房间号</asp:TableCell>
                                <asp:TableCell ID="TableCell8" runat="server" Width="100px">房间类型</asp:TableCell>
                                <asp:TableCell ID="TableCell9" runat="server" Width="100px">房间价格</asp:TableCell>
                                <asp:TableCell ID="TableCell10" runat="server" Width="100px">房间电话</asp:TableCell>
                                <asp:TableCell ID="TableCell21" runat="server" Width="100px">备注</asp:TableCell>
                                <asp:TableCell ID="TableCell18" runat="server" Width="50px">折扣</asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow ID="TableRow2" runat="server">
                                <asp:TableCell ID="TableCell12" runat="server">
                                    <asp:TextBox ID="TextBox1" runat="server" Width="100px"></asp:TextBox>
                                </asp:TableCell>
                                <asp:TableCell ID="TableCell13" runat="server">
                                    <asp:TextBox ID="TextBox2" runat="server" Width="100px"></asp:TextBox>
                                </asp:TableCell>
                                <asp:TableCell ID="TableCell14" runat="server">
                                    <asp:TextBox ID="TextBox5" runat="server" Width="100px"></asp:TextBox>
                                </asp:TableCell>
                                <asp:TableCell ID="TableCell15" runat="server">
                                    <asp:TextBox ID="TextBox4" runat="server" Width="100px"></asp:TextBox>
                                </asp:TableCell>
                                <asp:TableCell ID="TableCell22" runat="server">
                                    <asp:TextBox ID="TextBox7" runat="server" Width="180px"></asp:TextBox>
                                </asp:TableCell>
                                <asp:TableCell ID="TableCell19" runat="server">
                                    <asp:TextBox ID="TextBox6" runat="server" Width="50px"></asp:TextBox>
                                    <asp:Label ID="Label3" runat="server" Text="Label">%</asp:Label>
                                </asp:TableCell>
                            </asp:TableRow>
                        </asp:Table>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        
            <table style="width: 710px">
    <tbody>
    <tr><td style="height: 64px">
        <asp:Table ID="Table2" runat="server" Height="43px">
            <asp:TableRow ID="TableRow3" runat="server">
                <asp:TableCell ID="TableCell1" runat="server" width="100px">房间号</asp:TableCell>
                <asp:TableCell ID="TableCell2" runat="server" Width="120px">房间类型</asp:TableCell>
                <asp:TableCell ID="TableCell3" runat="server" Width="120px">房间价格</asp:TableCell>
                <asp:TableCell ID="TableCell4" runat="server" Width="120px">房间电话</asp:TableCell>
                <asp:TableCell ID="TableCell5" runat="server" Width="250px">备注(打折的原因等)</asp:TableCell>
                <asp:TableCell ID="TableCell6" runat="server" Width="50px">折扣</asp:TableCell>
                <asp:TableCell ID="TableCell11" runat="server" Width="20px">编辑</asp:TableCell>
                <asp:TableCell ID="TableCell20" runat="server" Width="20px">删除</asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </td></tr>
    </tbody>
    </table> 
        &nbsp;&nbsp;<br />
        <br />
        &nbsp;</div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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