my_leave.aspx
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="my_leave.aspx.cs" Inherits="my_leave" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link href="CSS/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.header{
background-image: url(images/title.gif);
height:25px;
font-size:12px;
}
</style>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>MouMou留言</title>
</head>
<body>
<form id="form1" runat="server">
<div style="text-align:center; font-size:12px">
<table class="control_table" border="0" cellpadding="0" cellspacing="0" width="900">
<tr>
<td><br />
<div class="div_user">
查看自己发布的帖子
</div>
<table class="control_table1" border="0" cellpadding="0" cellspacing="0" width="900">
<tr>
<td style="width: 158px;">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging" Width="700px" PageSize="15">
<Columns>
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="show_leave.aspx?id={0}"
DataTextField="leave_word_name" HeaderText="主题" >
<ItemStyle Font-Size="14px" HorizontalAlign="Left" />
</asp:HyperLinkField>
<asp:BoundField DataField="leave_time" DataFormatString="{0:yyyy年MM月dd日}" HeaderText="发布时间" HtmlEncode="False" >
<ItemStyle Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="Hits" HeaderText="点击" >
<ItemStyle Width="50px" />
</asp:BoundField>
</Columns>
<RowStyle CssClass="gr_row" />
<HeaderStyle CssClass="header" Font-Strikeout="False" />
<PagerTemplate>
<asp:Label ID="Label1" runat="server" Text="当前页:"></asp:Label><asp:Label ID="LabelCurrentPage" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageIndex + 1 %>"></asp:Label>
<asp:Label ID="Label2" runat="server" Text="/"></asp:Label>
<asp:Label ID="Label3" runat="server" Text="总页数:"></asp:Label><asp:Label ID="LabelPageCount" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageCount %>"></asp:Label>
<asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
<asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
<asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
<asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
</PagerTemplate>
</asp:GridView>
</td>
</tr>
</table>
<br />
后面还有 7 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。