📄 roomthings.aspx
字号:
<%@ Page language="c#" Codebehind="RoomThings.aspx.cs" AutoEventWireup="false" Inherits="Manage.RoomManage.RoomThings" %>
<%@ Register TagPrefix="uc1" TagName="ManagerMenu" Src="ManagerMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Footer.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>RoomThings</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout" background="/Manage/Image/bg.gif">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="1" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; Z-INDEX: 101; LEFT: 0px; MARGIN: 0px; PADDING-TOP: 0px; POSITION: absolute; TOP: 0px">
<TR>
<TD align="center" colspan="2">
<uc1:Header id="Header1" runat="server"></uc1:Header>
</TD>
</TR>
<TR>
<TD align="left" width="20%" valign="top"><FONT face="宋体">
<uc1:ManagerMenu id="ManagerMenu1" runat="server"></uc1:ManagerMenu></FONT></TD>
<TD align="center" valign="top">
<TABLE id="Table4" cellSpacing="1" cellPadding="1" width="100%" border="1" align="center"
style="BORDER-TOP-STYLE: solid; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; BORDER-BOTTOM-STYLE: solid">
<TR>
<TD align="center"><FONT face="宋体">
<asp:Label id="Label4" runat="server">寝室编号</asp:Label> </FONT>
<asp:DropDownList id="DropDownList1" runat="server">
<asp:ListItem Value="Room_ID">寝室编号</asp:ListItem>
<asp:ListItem Value="Floor_ID">楼号</asp:ListItem>
<asp:ListItem Value="Room_NO">寝室号码</asp:ListItem>
<asp:ListItem Value="Room_Desk">桌子</asp:ListItem>
<asp:ListItem Value="Room_Seat">椅子</asp:ListItem>
<asp:ListItem Value="Room_Bed">床位</asp:ListItem>
<asp:ListItem Value="Room_Closet">柜子</asp:ListItem>
</asp:DropDownList><FONT face="宋体">
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
</FONT>
<asp:Button id="Search1" runat="server" Text="搜索"></asp:Button></TD>
</TR>
<TR>
<TD align="center">
<P>
<asp:DataGrid id="DataGrid1" runat="server" AutoGenerateColumns="False" DataKeyField="Room_ID"
DataMember="Room" BorderColor="White" BorderStyle="Ridge" CellSpacing="1" BorderWidth="2px"
BackColor="White" CellPadding="3" GridLines="None" AllowPaging="True" PageSize="3">
<SelectedItemStyle Font-Bold="True" Wrap="False" ForeColor="White" BackColor="#9471DE"></SelectedItemStyle>
<EditItemStyle Wrap="False"></EditItemStyle>
<AlternatingItemStyle Wrap="False"></AlternatingItemStyle>
<ItemStyle Wrap="False" ForeColor="Black" BackColor="#DEDFDE"></ItemStyle>
<HeaderStyle Font-Bold="True" Wrap="False" ForeColor="#E7E7FF" BackColor="#4A3C8C"></HeaderStyle>
<FooterStyle Wrap="False" ForeColor="Black" BackColor="#C6C3C6"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="Room_ID" ReadOnly="True" HeaderText="寝室编号">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Floor_ID" ReadOnly="True" HeaderText="楼号">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Room_NO" ReadOnly="True" HeaderText="寝室号">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Room_Desk" HeaderText="桌子">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Room_Seat" HeaderText="椅子">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Room_Closet" HeaderText="柜子">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Room_Light" HeaderText="灯">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Room_Bed" HeaderText="床铺">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:EditCommandColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right" ForeColor="Black"
BackColor="#C6C3C6" Wrap="False"></PagerStyle>
</asp:DataGrid></P>
<P>
<asp:Label id="Label1" runat="server" ForeColor="Red"></asp:Label></P>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD align="center" colspan="2">
<uc1:Footer id="Footer1" runat="server"></uc1:Footer></TD>
</TR>
</TABLE>
<FONT face="宋体"></FONT><FONT face="宋体"></FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -