📄 st_rcatgmanmodule.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ST_RCatgManModule.ascx.cs" Inherits="ST_RCatgManModule" %>
<table width="562" border="0" style="position: relative">
<tr>
<td height="27" bgcolor="#CCCCCC" style="font-size: 17px; width: 557px;">房间类型管理:</td>
</tr>
<tr>
<td align="center" style="height: 14px; width: 557px;">
<table width="344" border="0" height="50">
<tr>
<td style="font-size: 15px; width: 93px" valign="bottom">按类型名称:</td>
<td style="width: 133px" valign="bottom"> <asp:TextBox ID="txtSearch" runat="server" Style="left: 1px; position: relative;
top: -1px" Width="147px"></asp:TextBox></td>
<td width="93" valign="bottom"> <asp:Button ID="Button2" runat="server" Style="position: relative" Text="查询"
Width="49px" OnClick="Button2_Click" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="226" style="width: 557px" valign="top">
<asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False"
Style="left: 0px; position: relative; top: 0px; font-size: 15px;" Width="100%" AllowPaging="True" OnItemCommand="DataGrid1_ItemCommand" OnPageIndexChanged="DataGrid1_PageIndexChanged">
<Columns>
<asp:BoundColumn DataField="ST_RCategoryId" HeaderText="编号"></asp:BoundColumn>
<asp:BoundColumn DataField="ST_Name" HeaderText="类型名称"></asp:BoundColumn>
<asp:BoundColumn DataField="ST_BedNum" HeaderText="床位"></asp:BoundColumn>
<asp:BoundColumn DataField="ST_Price" HeaderText="价格"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="修改">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" Style="position: relative" Width="49px" Font-Underline="false" CommandName="Detail">详单</asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="删除">
<ItemTemplate>
<asp:Button ID="Button1" runat="server" Style="position: relative" Text="删除" Width="57px" CommandName="Delete" />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle NextPageText="下页" PrevPageText="上页" />
</asp:DataGrid>
<a href="ST_RCategoryAdd.aspx" style="text-decoration:none; color: silver; font-size: 15px;">添加新房间类型</a>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -