📄 bbs.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="bbs.aspx.cs" Inherits="bbs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div style="text-align: center">
<table style="position: relative; text-align: center">
<tr>
<td colspan="6" style="width: 104px">
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/title.jpg" Style="position: relative" Width="792px" /></td>
</tr>
<tr>
<td colspan="6" style="width: 104px; text-align: left;">
<asp:SiteMapPath ID="SiteMapPath1" runat="server" Style="position: relative" Width="400px">
</asp:SiteMapPath>
</td>
</tr>
<tr>
<td colspan="6" align="left" valign="middle" nowrap="nowrap" style="vertical-align: middle; width: 104px; direction: ltr; height: 30px;
background-color: transparent; text-align: left">
<asp:Label ID="Label8" runat="server" Style="position: relative" Text="Label" Width="392px"></asp:Label></td>
</tr>
<tr>
<td colspan="6" style="width: 104px; height: 145px; text-align: center;">
<asp:DataList ID="DataList1" runat="server" CellPadding="4" ForeColor="#333333" Width="792px" style="left: 0px; position: relative; top: 0px">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<ItemTemplate>
<table style="position: relative">
<tr>
<td style="width: 74px">
<asp:Image ID="Image2" runat="server" ImageUrl="~/Images/name.gif" Style="position: relative" />用户名:</td>
<td style="width: 88px; text-align: left">
<asp:Label ID="Label1" runat="server" Style="position: relative; left: 8px; top: 0px;" Text='<%# Eval("username") %>'
Width="80px"></asp:Label></td>
<td style="width: 62px">
<asp:Image ID="Image3" runat="server" ImageUrl="~/Images/Mail.gif" Style="position: relative; left: 0px; top: 0px;" Width="24px" />邮箱:</td>
<td style="width: 231px">
<asp:Label ID="Label2" runat="server" Style="position: relative; left: 0px; top: 0px;" Text='<%# Eval("email") %>'
Width="224px"></asp:Label></td>
<td style="width: 73px">
发表时间:</td>
<td style="width: 204px">
<asp:Label ID="Label3" runat="server" Style="position: relative; left: 0px; top: 0px;" Text='<%# Eval("shijian") %>'
Width="200px"></asp:Label></td>
</tr>
<tr>
<td colspan="2" style="height: 55px">
内容:</td>
<td colspan="4" style="height: 55px; border-bottom: #000000 thin solid;">
<asp:Label ID="Label4" runat="server" Height="50px" Style="left: -6px; position: relative;
top: 0px" Text='<%# Eval("neirong") %>' Width="500px"></asp:Label></td>
</tr>
<tr>
<td colspan="2" style="height: 55px">
回复:</td>
<td colspan="4" style="height: 55px">
<asp:Label ID="Label5" runat="server" Height="50px" Style="left: -6px; position: relative;
top: 0px" Text='<%# Eval("huifu") %>' Width="500px"></asp:Label></td>
</tr>
<tr>
<td colspan="2" style="height: 30px">
</td>
<td colspan="4" style="height: 30px">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/newhbbs.gif"
OnClick="ImageButton1_Click" Style="left: 152px; position: relative; top: 2px" />
<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/delete.gif"
Style="left: 208px; position: relative; top: 2px" Width="55px" /></td>
</tr>
</table>
</ItemTemplate>
<AlternatingItemStyle BackColor="White" />
<ItemStyle BackColor="#E3EAEB" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
</asp:DataList></td>
</tr>
<tr>
<td style="width: 104px; height: 19px;">
<asp:Label ID="Label6" runat="server" Style="left: 0px; position: relative; top: 0px"
Text="Label" Width="80px"></asp:Label> </td>
<td style="width: 118px; height: 19px;">
<asp:Label ID="Label7" runat="server" Style="left: 8px; position: relative; top: 0px"
Text="Label" Width="88px"></asp:Label> </td>
<td style="width: 307px; height: 19px; text-align: right;">
<asp:LinkButton ID="LinkButton1" runat="server" Style="position: relative" OnClick="LinkButton1_Click">首页</asp:LinkButton> </td>
<td style="width: 64px; height: 19px;">
<asp:LinkButton ID="LinkButton2" runat="server" Style="left: 0px; position: relative;
top: 0px" OnClick="LinkButton2_Click">上一页</asp:LinkButton> </td>
<td style="width: 70px; height: 19px;">
<asp:LinkButton ID="LinkButton3" runat="server" Style="left: 0px; position: relative;
top: 0px" OnClick="LinkButton3_Click">下一页</asp:LinkButton> </td>
<td style="width: 64px; height: 19px;">
<asp:LinkButton ID="LinkButton4" runat="server" Style="position: relative" OnClick="LinkButton4_Click">尾页</asp:LinkButton> </td>
</tr>
<tr>
<td colspan="6" style="width: 104px;"> </td>
</tr>
<tr>
<td colspan="3" rowspan="3" style="width: 104px">
<asp:TextBox ID="TextBox1" runat="server" Height="104px" Style="left: 0px;
position: relative; top: -14px" Width="512px"></asp:TextBox></td>
<td colspan="3" style="height: 38px">
<asp:ImageButton ID="liuyan" runat="server" ImageUrl="~/Images/newbbs.gif" Style="position: relative" OnClick="liuyan_Click" />
</td>
</tr>
<tr>
<td colspan="3" style="height: 47px">
<asp:Label ID="Label9" runat="server" Style="left: 0px; position: relative; top: 0px"
Width="152px"></asp:Label></td>
</tr>
<tr>
<td colspan="3" style="height: 43px">
<asp:CheckBox ID="CheckBox1" runat="server" Style="left: -6px; position: relative;
top: 0px" Text="悄悄话" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -