Backup/NewGCSSWeb/SelectNews.aspx

(开头部分) 4KB

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

<%@ Page Language="C#" MasterPageFile="~/AdminSite.Master" AutoEventWireup="true" CodeBehind="SelectNews.aspx.cs" Inherits="NewGCSSWeb.NewsManage.SelectNews" Title="无标题页"%>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script language ="javascript" type="text/javascript">
    function AddNews()
    {
		
		if(window.open("WebNewsTwo.aspx","","status=no;dialogWidth=400px;dialogHeight=600px;menu=no;resizeable=yes;scroll=yes;center=yes;edge=raise")=="OK")
		{			
				document.location.href="SelectNews.aspx";							
		}
    }
    
    function UpdateNews(newsId)
    {
         if(window.open("WebNewsOne.aspx?NewsId="+newsId,"","status=no;dialogWidth=400px;dialogHeight=600px;menu=no;resizeable=yes;scroll=yes;center=no;edge=raise")=="OK")
		  {
		      document.location.href= "SelectNews.aspx";			  
		  }
    }
    
    function confirmDel()
    {
        if(confirm("确实要删除该公告吗?"))
        {
            return true;
        }
        else        
        {
            return false;
        }
    }
    </script>
    
       <div style="">
           &nbsp;
           <div style="z-index: 101; left: 239px; width: 681px; position: absolute; top: 173px;
               height: 1px">
       当前位置:公告管理      
           </div>
           <br />
           
           <br />
            <table style="background-color:#EDDEA0; height:30px; border:1px solid gray; text-align: center;font-size:14px; width: 689px;">
            <tr>
            <td style="width: 400px; height: 12px;font-size:12px; text-align: center;">
                公告管理</td>
            <td style="width: 589px; height: 12px;font-size:12px; text-align: center;">
               <a href="javascript:AddNews();"><u> 添加新公告</u></a></td>
            </tr>
            </table>
       
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px"
        CellPadding="4"  Height="373px" Width="691px" OnRowDataBound="GridView1_RowDataBound" DataKeyNames="NewsId" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCommand="GridView1_RowCommand" OnRowDeleting="GridView1_RowDeleting">
        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
        <Columns>
            <asp:BoundField DataField="NewsId" HeaderText="NewsId" SortExpression="NewsId" />
            <asp:BoundField DataField="Title" HeaderText="公告标题" SortExpression="Title" >
                <ItemStyle HorizontalAlign="Center" />
后面还有 37 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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