<%@ Page language="c#" Codebehind="RoomState.aspx.cs" AutoEventWireup="false" validateRequest="false" Inherits="TourOnline.BgManage.Hotel.RoomState" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>zd_hy</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<link href='../Admin_Style.css' rel='stylesheet' type='text/css'>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
			<TR class='topbg'>
					<TD align="center" height="22"><FONT style="FONT-WEIGHT: bold" face="宋体">字典管理－－房间状态管理</FONT>
						</FONT></TD>
				</TR>
				<tr>
					<td>
						<TABLE class="border" cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
							<TR bgColor="#eeeeee" height="27">
								<TD align="center" width="10%"><strong>添加房间状态：</strong></TD>
								<TD width="90%" align="left"><FONT face="宋体">状态名：
										<asp:TextBox id="txtRSName" runat="server" CssClass="input" MaxLength="25"></asp:TextBox>&nbsp; 
										此状态是否允许预订房间：
										<asp:RadioButtonList id="rblRSIsOrder" runat="server" CellPadding="0" CellSpacing="0" RepeatDirection="Horizontal"
											RepeatLayout="Flow">
											<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
											<asp:ListItem Value="0">否</asp:ListItem>
										</asp:RadioButtonList>&nbsp;
										<asp:Button id="Button1" runat="server" Text=" 添 加  " CssClass="button"></asp:Button></FONT></TD>
							</TR>
						</TABLE>
					</td>
				</tr>
				<TR>
					<TD align="left" colSpan="2"><asp:datalist id="DataList1" runat="server" DataKeyField="RSId" ShowFooter="False" Width="100%"
							cellspacing="0" CellPadding="0" BorderWidth="0" BorderStyle="None">
							<HeaderTemplate>
								<table width='100%' border='0' align='center' cellpadding='0' cellspacing='1' class="table1">
									<tr class='title' height='22'>
										<td width='5%' align='center' ><strong>ID</strong></td>
										<td align='center' width='45%' ><strong>状态名称</strong></td>
										<td align='center' width='20%' ><strong>是否允许预订</strong></td>
										<td width='30%' align='center' ><strong>操作选项</strong></td>
									</tr>
								</table>
							</HeaderTemplate>
							<ItemTemplate>
								<TABLE  cellSpacing="2" cellPadding="0" width="100%" align="center" border="0">
									<TR class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'"
										height="27">
										<TD align="center" width="5%"><%# Container.ItemIndex+1 %></TD>
										<TD align="center" width="45%">
											<asp:HyperLink id=Hyperlink1 runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "RSName") %>'>
											</asp:HyperLink></TD>
										<TD align="center" width="20%"><FONT face="宋体">
												<asp:HyperLink id=HyperLink2 runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "RSIsOrder") %>'>
												</asp:HyperLink></FONT></TD>
										<TD align="center" width="30%">
											<asp:LinkButton id="LinkButton1" runat="server" CommandName="edit">编辑</asp:LinkButton>&nbsp;&nbsp;
											<asp:LinkButton id="LinkButton2" runat="server" CommandName="del">删除</asp:LinkButton>
											<asp:TextBox id=txtUserId runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.UserId") %>' Width="0px" Height="0px">
											</asp:TextBox>&nbsp;
										</TD>
									</TR>
								</TABLE>
							</ItemTemplate>
							<EditItemTemplate>
								<TABLE cellSpacing="2" cellPadding="0" width="100%" align="center" border="0">
									<TR class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'"
										height="27">
										<TD align="center" width="5%"><%# Container.ItemIndex+1 %></TD>
										<TD align="center" width="45%">
											<asp:TextBox id=TextBox1 runat="server" MaxLength="25" Text='<%# DataBinder.Eval(Container, "DataItem.RSName") %>' Width="114px">
											</asp:TextBox></TD>
										<TD align="center" width="20%"><FONT face="宋体">
												<asp:TextBox id=TextBox2 runat="server" MaxLength="25" Text='<%# DataBinder.Eval(Container, "DataItem.RSIsOrder") %>' Width="0px" Height="0px">
												</asp:TextBox>
												<asp:RadioButtonList id="RadioButtonList1" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal"
													CellSpacing="0" CellPadding="0">
													<asp:ListItem Value="1">是</asp:ListItem>
													<asp:ListItem Value="0">否</asp:ListItem>
												</asp:RadioButtonList></FONT></TD>
										<TD align="center" width="30%">
											<asp:LinkButton id="Linkbutton3" runat="server" CommandName="update">修改</asp:LinkButton>&nbsp;&nbsp;
											<asp:LinkButton id="LinkButton5" runat="server" CommandName="cancel">取消</asp:LinkButton>&nbsp;&nbsp;
											<asp:LinkButton id="Linkbutton4" runat="server" CommandName="del">删除</asp:LinkButton>&nbsp;
										</TD>
										&nbsp;&nbsp;
									</TR>
								</TABLE>
							</EditItemTemplate>
						</asp:datalist></TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
