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

📄 st_roomaddmodule.ascx

📁 这是一个酒店管理系统
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" CodeFile="ST_RoomAddModule.ascx.cs" Inherits="ST_GROUP.Modules.ST_RoomAddModule" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<!--BEGIN ROOM ADD MODULE-->
<table cellSpacing="1" bgcolor="#ffccff" width="100%">
	<tr>
		<td align="left" colspan="2" style="height: 25px" bgcolor="#ffccff" >添加客房信息
		</td>
	</tr>
	<!-- SPACER ROW -->
	<tr class="rbody">
		<td class="rbodycol" align="center" height="25" colspan="2">&nbsp;
		</td>
	</tr>
	<tr class="rbody">
		<td class="rbodycol" align="center" height="25" colspan="2">
			<P><asp:label id="CreateLabel" enableViewState="false" runat="server" Visible="True">
         请完整填写下列信息,然后单击“添加”按钮来提交要添加的房间信息。
	      </asp:label></P>
			<table style="BORDER-RIGHT: #ccccff 1px solid; TABLE-LAYOUT: auto; BORDER-TOP: #ccccff 1px solid; BORDER-LEFT: #ccccff 1px solid; BORDER-BOTTOM: #ccccff 1px solid; BORDER-COLLAPSE: collapse"
				width="100%">
				<tr style="BACKGROUND-COLOR: #ccccff">
					<td width="20%">房间号:
					</td>
					<td><asp:textbox id="RoomIdTextBox" enableViewState="false" runat="server" MaxLength="10"></asp:textbox>(必填)
						<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" controlToValidate="RoomIdTextBox" errormessage="编号必须填写"
							display="dynamic">*</asp:requiredfieldvalidator><asp:regularexpressionvalidator id="Regularexpressionvalidator2" runat="server" ValidationExpression="^\w[0-9]*$"
							ErrorMessage="编号应为整数" ControlToValidate="RoomIdTextBox">*</asp:regularexpressionvalidator>
						<asp:customvalidator id="IdUniqueCustomValidator" runat="server" ErrorMessage="该房间已登记" ControlToValidate="RoomIdTextBox"
							OnServerValidate="IsIdValidate">*</asp:customvalidator>
					</td>
				</tr>
				<tr>
					<td width="20%" style="HEIGHT: 22px">房间类型:
					</td>
					<td><asp:DropDownList id="RCategoryNameList" runat="server">
							<asp:ListItem Value="0">请选择</asp:ListItem>
						</asp:DropDownList>(必填)
						<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" controlToValidate="RCategoryNameList"
							errormessage="类型必须填写,请先到房间类型管理中添加房间类型" display="dynamic">*</asp:requiredfieldvalidator>
						<asp:customvalidator id="RCategoryCustomvalidator" runat="server" ErrorMessage="类型必须填写,请先到房间类型管理中添加房间类型"
							ControlToValidate="RCategoryNameList" OnServerValidate="NotNullValidate">*</asp:customvalidator>
					</td>
				</tr>
				<tr style="BACKGROUND-COLOR: #ccccff">
					<td width="20%">房间位置:
					</td>
					<td><asp:textbox id="RPositionTextBox" enableViewState="false" runat="server" MaxLength="40"></asp:textbox></td>
				</tr>
				<tr>
					<td width="20%">描述:
					</td>
					<td><asp:textbox id="DescriptionTextBox" runat="server" Width="170px" TextMode="MultiLine" Height="86px"></asp:textbox>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td colspan="2"><asp:validationsummary id="ValidationSummary1" runat="server" HeaderText="请按下面提示正确填写:"></asp:validationsummary></td>
	</tr>
	<tr>
		<td width="20%">&nbsp;
		</td>
		<td>
			<asp:Button id="SubmitButton" text="添加" BorderStyle="Groove" runat="server"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;
			<asp:Button id="ReturnButton" CausesValidation="True" BorderStyle="Groove" text="返回" runat="server" OnClick="ReturnButton_Click1"></asp:Button>
		</td>
	</tr>
	<tr>
		<td colspan="2" style="height: 21px"><asp:label id="ShowMsg" Runat="server"></asp:label></td>
	</tr>
</table>
<!--END ROOM ADD MODULE-->

⌨️ 快捷键说明

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