?? st_roomaddmodule.ascx
字號:
?<%@ 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">添加完后單擊"提交"</td>
</tr>
<tr>
<td style="width: 92px; height: 28px">客房號:</td>
<td width="327" style="height: 28px"> <asp:TextBox ID="txtRoomId" runat="server" Style="position: relative"></asp:TextBox></td>
<td width="150" style="height: 28px"> <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"> <asp:DropDownList ID="ddlCategory" runat="server" Style="position: relative" Width="120px">
</asp:DropDownList></td>
<td style="height: 25px"> <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> <asp:TextBox ID="txtPosition" runat="server" Style="position: relative"></asp:TextBox></td>
<td> <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"> <asp:TextBox ID="txtDesc" runat="server" Style="position: relative" Height="97px" TextMode="MultiLine" Width="315px"></asp:TextBox></td>
<td> <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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -