Web/News.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="Maticsoft.Web.News" %>

<%@ Register src="Controls/Top.ascx" tagname="Top" tagprefix="uc1" %> 
<%@ Register src="Controls/Left.ascx" tagname="Left" tagprefix="uc3" %>
<%@ Register src="Controls/buttom.ascx" tagname="buttom" tagprefix="uc4" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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 runat="server" id="Header1">
    <title>无标题页</title>
    <link href="css/FuZhuang.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
     <div class="indexfuCenter">
      <div class="indexfuleft">
      <div class="indexfuleftbiao">资讯分类</div> 
      
       <asp:Repeater ID="DataNewType" runat="server">
         <ItemTemplate> 
          <div class="newslist">
            <a href="News.aspx?TypeID=<%#Eval("E_NewsTypeID") %>">
              <%#Eval("E_NewsTypeName")%>
           </a>   
          </div>
         </ItemTemplate> 
        </asp:Repeater>
      <uc3:Left ID="Left1" runat="server" />
      </div>
      <div class="indexfuright">
       <%--start右边内容--%>
       <uc1:Top ID="Top1" runat="server" />
       <div class="divindex2">
        <div class="divindexTitle">
          首页>><asp:Label ID="lblTypeName" runat="server" ></asp:Label>
        </div>
        <div class="divindexContente">
           <ul class="aboutnew">
         
         <asp:DataList ID="dataNews" runat="server" Font-Size="12px">
          <ItemTemplate>
           <li class="yy">
            <a href="NewsInfo.aspx?NewID=<%#Eval("E_NewsID") %>" style="color:#FFFFFF; text-decoration:none" >
              <%#Eval("E_NewsTitle")%>
            </a> 
           </li>
           <li class=" w120 textcenter huifont">
             <%#Eval("E_Starttime")%>
           </li>
          </ItemTemplate>
         </asp:DataList>
          <asp:Label ID="lblInfo" runat="server" CssClass="paddleft30" ></asp:Label>
          <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="formfield" CustomInfoClass="formbutton"
                                    CustomInfoHTML="第&lt;font color='blue'&gt;&lt;b&gt;%CurrentPageIndex%&lt;/b&gt;&lt;/font&gt;页 共%PageCount%&nbsp;页 %StartRecordIndex%-%EndRecordIndex%"
                                    CustomInfoTextAlign="Center" FirstPageText="首页" HorizontalAlign="Center" InputBoxStyle="width:19px"
                                    LastPageText="尾页" meta:resourceKey="AspNetPager1" NextPageText="下一页" PageSize="12"
                                    PrevPageText="前一页" ShowCustomInfoSection="Left" ShowInputBox="Always" ShowNavigationToolTip="True"
                                    Style="font-size: 12px" SubmitButtonClass="formfield" SubmitButtonText="GO" Width="506px"
后面还有 14 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。