ShowMes.ascx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ShowMes.ascx.cs" Inherits="ShowMes" %>
<style type="text/css">
.style1
{
width: 700px;
margin-bottom: 0px;
}
.style2
{
width: 100%;
}
</style>
<table align="center" cellpadding="0" cellspacing="0" class="style1">
<tr>
<td>
最新留言:</td>
</tr>
<tr>
<td>
<asp:DataList ID="DataList1" runat="server" BackColor="White"
BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4"
GridLines="Both" Width="699px">
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<ItemStyle BackColor="White" ForeColor="#330099" />
<SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
<SeparatorTemplate>
<hr style="background-color: #FF0000; color: #FF0000;" />
</SeparatorTemplate>
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
<ItemTemplate>
姓名:
<asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>' />
留言时间:
<asp:Label ID="timeLabel" runat="server" Text='<%# Eval("time") %>' />
<hr />
内容: <asp:Label ID="contentLabel" runat="server" Text='<%# Eval("content") %>' />
<br />
</ItemTemplate>
</asp:DataList>
</td>
</tr>
<tr>
<td>
<table class="style2">
<tr>
<td>
当前页数:<asp:Label ID="Label1" runat="server" Text="1"></asp:Label>
</td>
<td>
<asp:Button ID="Button1" runat="server" Text="首页" onclick="Button1_Click"
CausesValidation="False" />
</td>
<td>
<asp:Button ID="Button2" runat="server" Text="前页" onclick="Button2_Click"
CausesValidation="False" />
</td>
<td>
<asp:Button ID="Button3" runat="server" Text="后页" onclick="Button3_Click"
CausesValidation="False" />
后面还有 23 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
