Web/resu_list.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="resu_list.aspx.cs" Inherits="resu_list" %>
<%@ Register src="userControl/bestCourse.ascx" tagname="bestCourse" tagprefix="uc1" %>
<%@ Register src="userControl/bestResu.ascx" tagname="bestResu" tagprefix="uc2" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="page">
<!-- start content -->
<div id="content">
<div class="post">
<h1 class="title">资源列表</h1>
<div class="entry">
<table border="0" cellpadding="0" cellspacing="0" width="98%" align="left" bgcolor="#B3D4E7">
<tr>
<td style="background-color:White">
<asp:GridView ID="coursesGrid" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black"
GridLines="Horizontal" Width="100%" ShowHeader="False"
EnableModelValidation="True" >
<FooterStyle BackColor="#CCCC99" ForeColor="Black" />
<Columns>
<asp:TemplateField HeaderText="资源名称">
<ItemTemplate>
<a href="resu_show.aspx?id=<%#Eval("rid") %>"><%# Eval("title") %></a>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:TemplateField>
<asp:BoundField DataField="atime" HeaderText="添加时间">
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:BoundField>
</Columns>
<PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#85CCE8" Font-Bold="True" ForeColor="SteelBlue" Height="25px"
HorizontalAlign="Center" CssClass="tabletitle" />
<RowStyle Height="25px" ForeColor="#42a7ce"/>
</asp:GridView>
</td>
</tr>
<tr>
<td height="25" class="tbleft1">
<webdiyer:aspnetpager id="AspNetPager1" runat="server" OnPageChanging="AspNetPager1_PageChanging" ShowCustomInfoSection="Left" CustomInfoSectionWidth="40%" ShowPageIndexBox="always" PageIndexBoxType="DropDownList"
CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页,共%PageCount%页,每页显示%PageSize%条记录" CssClass="pages" CurrentPageButtonClass="cpb" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到第:" PageSize="10" Width="100%" HorizontalAlign="Center"></webdiyer:aspnetpager>
</td>
</tr>
</table>
</div>
后面还有 27 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
