📄 st_rbussimanmodule.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" CodeFile="ST_RBussiManModule.ascx.cs" Inherits="ST_GROUP.Modules.ST_RBussiModule" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import Namespace="ST_GROUP"%>
<!--BEGIN ROOMBUSSINESS MANAGEMENT MODULE-->
<TABLE cellSpacing="0" cellPadding="5" width="100%">
<TR >
<TD bgcolor="#ffccff" align="left" colSpan="2" height="25">房间经营管理
</TD>
</TR> <!-- SPACER ROW -->
<TR class="rbody">
<TD class="rbodycol" align="left" width="40%" height="25">按房间类型:
<asp:dropdownlist id="RCategoryNameList" runat="server">
<asp:ListItem Value="0">请选择</asp:ListItem>
</asp:dropdownlist>状态:
<asp:dropdownlist id="StatusList" runat="server">
<asp:ListItem Value="0">请选择</asp:ListItem>
<asp:ListItem Value="1">未订</asp:ListItem>
<asp:ListItem Value="2">已订</asp:ListItem>
</asp:dropdownlist><asp:button id="search" runat="server" Text="查询" BorderStyle="Groove"></asp:button></TD>
<td></td>
</TR>
<TR class="rbody">
<TD class="rbodycol" align="left" colSpan="2" height="25"><asp:datalist id="dl_RoomsList" runat="server" width="100%" BorderWidth="1px" CellPadding="1" BorderColor="#CCCCFF"
DataKeyField="ST_RoomId" RepeatColumns="5" RepeatDirection="Horizontal"
CellSpacing="3">
<SelectedItemStyle BackColor="#6666FF"></SelectedItemStyle>
<HeaderTemplate>
房间使用情况
</HeaderTemplate>
<SelectedItemTemplate>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="15%">
<DIV><B><FONT color="#ff0000" size="4">
<%-- <asp:LinkButton CommandName="select" Runat="server" OnClick="dl_RoomsList_Select">
<%# DataBinder.Eval(Container, "DataItem.ST_RoomId") %>
</asp:LinkButton>--%>
</FONT></B></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>类别:</B><%# DataBinder.Eval(Container, "DataItem.ST_Name") %></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>空房:</B>
<asp:Label Runat="server" ID="Statuslabel2"></asp:Label></DIV>
</TD>
</TR>
</TABLE>
</SelectedItemTemplate>
<AlternatingItemStyle BackColor="#9999FF"></AlternatingItemStyle>
<ItemStyle BorderWidth="1px" BorderColor="CornflowerBlue" BackColor="#CCCCFF"></ItemStyle>
<ItemTemplate>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="15%">
<DIV><B><FONT color="#ff0000" size="4">
<asp:LinkButton CommandName="select" Runat="server" ID="Linkbutton1" Visible="False"><%# DataBinder.Eval(Container, "DataItem.ST_RoomId") %></asp:LinkButton>
<asp:Button ID="Button1" Text=<%# DataBinder.Eval(Container, "DataItem.ST_RoomId") %> runat="server" OnClick="Button1_Click" /></FONT></B></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>类别:</B><%# DataBinder.Eval(Container, "DataItem.ST_Name") %></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>空房:</B>
<asp:Label Runat="server" ID="StatusLabel">
<%=Status%>
</asp:Label></DIV>
</TD>
</TR>
</TABLE>
</ItemTemplate>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#CCCCFF"></HeaderStyle>
</asp:datalist></TD>
</TR>
<tr class="rbody">
<td class="rbody" align="left" colSpan="2" height="25"><asp:repeater id="rp_RoomDetails" Runat="server">
<HeaderTemplate>
<table style="FONT-WEIGHT: bolder; FONT-SIZE: 13px; COLOR: #0000ff" cellPadding="1" width="90%">
<tr>
<td width="14%">房间号</td>
<td width="14%">酒店业务</td>
<td width="14%">房间类型</td>
<td width="14%">面积(平方米)</td>
<td width="14%">价格(元/天)</td>
<td width="14%">床位(个)</td>
<td width="14%">房间位置</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table cellpadding="0" width="90%" style="FONT-SIZE: 13px; COLOR:#0033ff">
<tr>
<td width="14%">
<b><font color="red">
<%# DataBinder.Eval(Container.DataItem,"ST_RoomId")%>
</font></b>
</td>
<td width="14%">
<asp:HyperLink NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"ST_RoomId",ST_PageBase.UrlBase+"/ST_RoomOrder.aspx?RoomId={0}")%>' Runat=server ID="OrderLink">订房</asp:HyperLink>
<asp:HyperLink NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"ST_RoomId",ST_PageBase.UrlBase+"/ST_RoomCheckOut.aspx?RoomId={0}")%>' Runat=server ID="CheckOutLink">退房</asp:HyperLink>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"ST_Name")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"ST_Area")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"ST_Price")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"ST_BedNum")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"ST_RPosition")%>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<table cellpadding="0" width="90%">
<tr>
<td colspan="4" height="1" bgcolor="#0033ff"></td>
</tr>
</table>
</SeparatorTemplate>
<FooterTemplate>
<table cellpadding="0" width="90%">
<tr>
<td colspan="4" height="4" bgcolor="#0033ff"></td>
</tr>
</table>
</FooterTemplate>
</asp:repeater></td>
</tr>
<TR>
<td width="50%" height="25">
</td>
<TD align="left"><asp:button id="ShowAll" runat="server" Text="全部显示" BorderStyle="Groove" Visible="False"></asp:button></TD>
</TR>
</TABLE>
<!--END ROOMBUSSINESS MANAGEMENT MODULE-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -