GonggaoList.aspx
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonggaoList.aspx.cs" Inherits="Admin_GonggaoList" %>
<!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 id="Head1" runat="server">
<title>淮安房屋租赁网的设计与实现</title>
</head>
<body bgcolor="#6699ff" >
<form id="form1" runat="server">
<div>
<table cellSpacing="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; width: 652px;" cellPadding="0" align="center"
border="1" bordercolor=gray>
<tr height=40>
<td colSpan="2" height="10" align="center">
<span style="color: #ff3300">公告列表</span><asp:Label ID="Label4" runat="server"
ForeColor="Red"></asp:Label></td>
</tr>
<tr align="center" height="55" style="color: #000000">
<td colSpan="2" align="left">
<asp:GridView ID="gvFilms" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" CellPadding="5" DataKeyNames="id" OnPageIndexChanging="gvFilms_PageIndexChanging"
OnRowDataBound="gvFilms_RowDataBound" OnRowDeleting="gvFilms_RowDeleting" PageSize="12"
Width="613px" Height="371px">
<Columns>
<asp:TemplateField HeaderText="标题">
<ItemStyle HorizontalAlign="Left" Width="200px" />
<ItemTemplate>
<asp:Label ID="Label11" runat="server" Text='<%# Bind("Name") %>' Width="330px"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="添加日期" SortExpression="num">
<ItemStyle HorizontalAlign="Center" Width="30px" />
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Addtime","{0:d}") %>' Width="148px"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="查看">
<ItemStyle HorizontalAlign="Center" Width="30px" />
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "ShowgNews.aspx?id="+Eval("id") %>'
Text="查看" Width="104px"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast"
NextPageText="下一页" PageButtonCount="12" PreviousPageText="上一页" />
<RowStyle HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" ForeColor="#CCCCFF" />
<PagerTemplate>
<table border="0" width="100%">
<tr>
<td>
<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>
后面还有 20 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。