paper.aspx
(完整代码) 1KB<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="paper.aspx.cs" Inherits="paper" Title="新闻文章" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="right4" runat="server" class="right4" align="center">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="id"
DataSourceID="SqlDataSource1" ForeColor="Black" GridLines="None"
Height="172px" Width="660px">
<RowStyle BackColor="#E3EAEB" />
<Columns>
<asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True"
SortExpression="id" />
<asp:HyperLinkField DataNavigateUrlFields="id"
DataNavigateUrlFormatString="paper_content.aspx?id={0}" DataTextField="title"
HeaderText="文章名称" />
<asp:BoundField DataField="author" HeaderText="作者" SortExpression="author" />
<asp:BoundField DataField="addtime" HeaderText="发布时间"
SortExpression="addtime" />
<asp:BoundField DataField="hits" HeaderText="点击率" SortExpression="hits" />
</Columns>
<FooterStyle BackColor="#009900" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#009900" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#006600" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:yutian66 %>"
SelectCommand="SELECT * FROM [paper] ORDER BY [addtime] DESC">
</asp:SqlDataSource>
<br />
</div>
</asp:Content>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。