st_roomaddmodule.ascx

来自「本程序是一个宾馆管理系统」· ASCX 代码 · 共 42 行

ASCX
42
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ST_RoomAddModule.ascx.cs" Inherits="Context_ST_RoomAddModule" %>
<table width="600" height="302" border="1" style="font-size: 15px">
  <tr>
    <td height="26" colspan="3" style="background-color: lightgrey">添加客房信息</td>
  </tr>
  <tr>
    <td height="28" colspan="3" align="center">添加完后单击&quot;提交&quot;</td>
  </tr>
  <tr>
    <td style="width: 92px; height: 28px">客房号:</td>
    <td width="327" style="height: 28px">&nbsp;<asp:TextBox ID="txtRoomId" runat="server" Style="position: relative"></asp:TextBox></td>
    <td width="150" style="height: 28px">&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="(必填)"
            Style="position: relative" ControlToValidate="txtRoomId"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td style="width: 92px; height: 25px;">房间类型:</td>
    <td style="height: 25px">&nbsp;<asp:DropDownList ID="ddlCategory" runat="server" Style="position: relative" Width="120px">
        </asp:DropDownList></td>
    <td style="height: 25px">&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="(必填)"
            Style="position: relative" ControlToValidate="ddlCategory"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td height="30" style="width: 92px">房间位置:</td>
    <td>&nbsp;<asp:TextBox ID="txtPosition" runat="server" Style="position: relative"></asp:TextBox></td>
    <td>&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="(必填)"
            Style="position: relative" ControlToValidate="txtPosition"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td height="106" style="width: 92px">描述:</td>
    <td valign="top">&nbsp;<asp:TextBox ID="txtDesc" runat="server" Style="position: relative" Height="97px" TextMode="MultiLine" Width="315px"></asp:TextBox></td>
    <td>&nbsp;<asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="该房间已经存在"
            OnServerValidate="CustomValidator1_ServerValidate" Style="left: 5px; position: relative;
            top: 0px" Width="140px"></asp:CustomValidator>
        <asp:Label ID="lblInfo" runat="server" Style="left: 4px; position: relative;
            top: 41px" Text="Label" Width="143px"></asp:Label></td>
  </tr>
  <tr>
    <td colspan="3" align="center">
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="left: -13px;
            position: relative; top: 0px" Text="提交" Width="67px" /><a href="ST_RoomsMan.aspx" style="text-decoration:none;">返回</td>
  </tr>
</table>

⌨️ 快捷键说明

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