SalesSystemOnline/UI/admin/NewsList.aspx

(开头部分) 6KB

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

<%@ Page Language="C#" MasterPageFile="~/UI/admin/BackMu.Master" AutoEventWireup="true" CodeBehind="NewsList.aspx.cs" Inherits="SalesSystemOnline.Web.admin.NewsList" Title="新闻列表" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
   a
   {
   	 text-decoration:none;
   	 color:Gray;
   	}
   	a:hover
   	{
   	  color:Red;	 
   		}
.td{ width:25%;} 
.paginator { font: 11px Arial, Helvetica, sans-serif;padding:10px 20px 10px 0; margin: 0px;}
.paginator a {padding: 1px 6px; border: solid 1px #ddd; background: #fff; text-decoration: none;margin-right:2px}
.paginator a:visited {padding: 1px 6px; border: solid 1px #ddd; background: #fff; text-decoration: none;}
.paginator .cpb {padding: 1px 6px;font-weight: bold; font-size: 13px;border:none}
.paginator a:hover {color: #fff; background: #ffa501;border-color:#ffa501;text-decoration: none;}
 </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
   <div style="  text-align:center; font-size:16px; font-weight:bold; margin-top:13px;"> 新闻列表 </div>
<div style="height:15px;"></div>
<div style="text-align:center;vertical-align:middle;">
           <table> 
           <tr>
           <td class="td" style="text-align:right;">查找方式:</td>
           <td class="td">
           <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
            <asp:ListItem Selected ="True">按新闻标题查询</asp:ListItem>
            <asp:ListItem>按新闻作者查询</asp:ListItem>
            </asp:RadioButtonList>
           </td>
           <td class="td" align ="center"><asp:TextBox ID="txt_search" runat="server"></asp:TextBox></td>
           <td align ="left" style =" margin-left :15px;">
               <asp:ImageButton ID="ImageButton1" runat="server" 
                   ImageUrl="~/UI/admin/images/Search.bmp" Height="32px" Width="86px" 
                   onclick="ImageButton1_Click"/>
               </td> 
           </tr>
           </table>
</div>
<div style="clear:right;"></div>
<div style="text-align:center;"><asp:Label ID="Label2" runat="server" 
        ForeColor="Red" Text="/*对不起,没有您查询的记录*/"></asp:Label></div>
    <div style="margin-top:13px;">
<div style="height:10px;"></div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="NewsID" Width="100%" CellPadding="4" ForeColor="#333333" 
            GridLines="None" AllowSorting="True" 
            onrowdatabound="GridView1_RowDataBound" >
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:TemplateField HeaderText="序号"></asp:TemplateField>
                <asp:TemplateField HeaderText="ID"> 
                    <ItemTemplate>
                        <asp:Label ID="txt_id" runat="server" Text='<%# Eval("NewsID") %>'></asp:Label>
后面还有 66 行代码,购买后查看完整代码

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

AI 解读 AI

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

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