?? st_roomsmanmodule.ascx
字號:
?<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ST_RoomsManModule.ascx.cs" Inherits="Context_ST_RoomsManModule" %>
<table width="609" height="411" border="1" style="font-size: 15px">
<tr>
<td height="27" colspan="3" bgcolor="#CCCCCC">房間信息管理</td>
</tr>
<tr>
<td width="169" height="36" align="right"> 按房間號:</td>
<td style="width: 168px"> <asp:TextBox ID="txtSearch" runat="server" Style="position: relative"></asp:TextBox></td>
<td width="222"> <asp:Button ID="Button1" runat="server" Style="position: relative" Text="查詢"
Width="63px" OnClick="Button1_Click" /></td>
</tr>
<tr>
<td height="311" colspan="3" valign="top">
<asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" OnItemCommand="DataGrid1_ItemCommand"
Style="font-size: 15px; position: relative" Width="100%" AllowPaging="True" OnPageIndexChanged="DataGrid1_PageIndexChanged">
<Columns>
<asp:BoundColumn DataField="ST_RoomId" HeaderText="房間號"></asp:BoundColumn>
<asp:BoundColumn DataField="ST_Name" HeaderText="房間類型"></asp:BoundColumn>
<asp:BoundColumn DataField="ST_RPosition" HeaderText="房間位置"></asp:BoundColumn>
<asp:BoundColumn DataField="ST_Price" HeaderText="價格(元/天)"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="修改">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CommandName="Detail" Style="position: relative"
Width="41px">詳單</asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="刪除">
<ItemTemplate>
<asp:Button ID="Button2" runat="server" CommandName="Detele" Style="position: relative"
Text="刪除" Width="51px" />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle NextPageText="下頁" PrevPageText="上頁" />
</asp:DataGrid></td>
</tr>
<tr>
<td height="25" colspan="3"><span class="STYLE2"><a href="ST_RoomAdd.aspx" style="text-decoration:none">添加新房間</a></span></td>
</tr>
</table>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -