📄 body.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="body.aspx.cs" Inherits="body" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>35062留言本正文</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
background-color: #3769B8;
}
-->
</style>
<link href="Css.css" rel="stylesheet" type="text/css">
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<table width="780" height="600" border="0" align="center" cellpadding="0" cellspacing="0" id="__01">
<tr>
<td colspan="2">
<img src="images/body_01.gif" width="780" height="121" alt=""></td>
</tr>
<tr>
<td>
<img src="images/body_02.gif" width="548" height="32" alt=""></td>
<td width="232" height="32" background="images/body_03.gif"> <a href ="index.aspx"></a> <asp:ImageButton
ID="ImageButton1" runat="server" ImageUrl="~/images/home.gif" OnClick="ImageButton1_Click" /><font color=white>返回主页</font>
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">显示全部留言</asp:LinkButton></td>
</tr>
<tr>
<td height="416" colspan="2" style="text-align: center" valign="top"><asp:DataGrid ID="DataGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
GridLines="None" Height="20px" OnItemCommand="DataGrid1_ItemCommand" OnItemCreated="DataGrid1_ItemCreated"
OnItemDataBound="DataGrid1_ItemDataBound" OnPageIndexChanged="DataGrid1_PageIndexChanged"
PageSize="4" ShowHeader="False" Width="128px">
<PagerStyle ForeColor="Transparent" HorizontalAlign="Right" Mode="NumericPages" Position="TopAndBottom"
VerticalAlign="Top" />
<ItemStyle BackColor="Transparent" BorderColor="Transparent" HorizontalAlign="Left" />
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<table align="left">
<tr>
<td align="center" colspan="2" style="height: 18px">
<hr><asp:Label ID="LabelTiele" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserTtitle") %>'
Width="719px" BorderColor="Gold" Font-Bold="True"></asp:Label></td>
</tr>
<tr>
<td align="left" colspan="2" style="height: 20px" valign="top"></td>
</tr>
<tr>
<td style="height: 36px; text-align: right;" colspan="2">
<asp:Button ID="ButtonModify" runat="server" CommandName="修 改" Text="修 改" Visible="False" /><asp:Button
ID="ButtonDele" runat="server" CommandName="deleteID" Text="删 除" Visible="False" />
<asp:Label ID="LabelID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"TextID") %>'
Visible="False"></asp:Label><asp:ImageButton ID="ImageButton2" runat="server" CommandName="回复" ImageUrl="~/images/back.gif" ToolTip="点击回复当前话题" />
<font color=yellow>发表者:</font><asp:Label ID="LabelAuthor" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserName") %>'></asp:Label>
时间:<asp:Label ID="LabelDateTime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserData") %>'
Width="116px"></asp:Label></td>
</tr>
<tr>
<td colspan="2" style="height: 24px">
<asp:DataGrid ID="DataGrid2" runat="server" AutoGenerateColumns="False" GridLines="None"
ShowHeader="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<table align="left">
<tr>
<td align="left" colspan="2" style="height: 20px" valign="top">
<font color="white">回复内容:</font><asp:Label ID="LabelBack"
runat="server" BackColor="Transparent" BorderColor="Transparent" ForeColor="Transparent"
Height="20px" Text='<%#DataBinder.Eval(Container.DataItem,"BackBody").ToString() %>'
Width="735px"></asp:Label></td>
</tr>
<tr>
<td style="width: 74px;">
</td>
<td align="right" style="width: 671px;" unselectable="on">
<font color=yellow>回复者:</font><asp:Label ID="LabelAuthor" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserName") %>'></asp:Label>
时间:<asp:Label ID="LabelDateTime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"BackTime") %>'
Width="116px"></asp:Label></td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid></td>
</tr>
</table>
</ItemTemplate>
<HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" />
<EditItemTemplate>
<table align="left" bordercolor="#ff00ff">
<tr>
<td bgcolor="#ffcc00" bordercolor="#ff00ff" style="width: 74px">
修改内容:</td>
<td align="left" style="width: 671px">
<asp:Label ID="LabelModifyTiele" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserTtitle") %>'
Width="605px"></asp:Label></td>
</tr>
<tr>
<td colspan="2" style="height: 92px">
<asp:TextBox ID="TextBoxModifyBody" runat="server" Height="150px" Text='<%# DataBinder.Eval(Container.DataItem,"UserText") %>'
TextMode="MultiLine" Width="735px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 74px; height: 6px">
<asp:Button ID="ButtonNew" runat="server" CommandName="更 新" Text="更 新" /></td>
<td align="right" style="width: 671px; height: 6px">
<asp:Label ID="LabelID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"TextID") %>'
Visible="False"></asp:Label>修改时间:<asp:Label ID="LabelModifyDateTime" runat="server"
Text='<%# DataBinder.Eval(Container.DataItem,"UserData") %>' Width="116px"></asp:Label></td>
</tr>
</table>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid></td>
</tr>
<tr>
<td colspan="2">
<img src="images/body_05.gif" width="780" height="1" alt=""></td>
</tr>
<tr>
<td colspan="2" style="height: 30px">
<img src="images/body_06.gif" width="780" height="30" alt=""></td>
</tr>
</table>
<table>
<tr>
<td style="width: 738px"><img src="images/botton.gif"></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -