Homework/Admin/NewsList.aspx

(开头部分) 5KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsList.aspx.cs" Inherits="Homework.Admin.NewsList" %>

<!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>
<style type="text/css">
<!--
body {
	margin-left: 5px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>


</head>

<body>
<form id="Form1"  runat="server" >
    <table align="center" bgcolor="#d5d4d4" border="0" cellpadding="0" cellspacing="1"
        width="100%">
        <tr>
            <td background="../images/bg.gif" bgcolor="#ffffff" class="STYLE3" colspan="4" style="height: 22px; width: 717px;">
                <div align="center">
                    公告管理</div>
            </td>
        </tr>
        <tr>
            <td class="STYLE1" colspan="4" style="background-color: #ffffff; width: 717px;">
                <table border="0" cellpadding="0" cellspacing="0" width="717px">
                    <tr>
                        <td align="center" style="width: 722px; height: 43px">
                        <asp:GridView ID="gvFilms" runat="server"  AllowPaging="True"  AutoGenerateColumns="False"
                            BackColor="White" CellPadding="5" DataKeyNames="id" OnPageIndexChanging="gvFilms_PageIndexChanging"
                            OnRowDataBound="gvFilms_RowDataBound" PageSize="12" Width="905px" OnRowDeleted="gvFilms_RowDeleted" OnRowDeleting="gvFilms_RowDeleting">
                            <Columns>
                               
                                                    <asp:TemplateField HeaderText="标题 ">
                             <ItemStyle HorizontalAlign="Left" Width="200px" />
                                    <ItemTemplate>
                                        <asp:Label ID="Label11" runat="server" Text='<%# Bind("name") %>' Width="642px"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="时间">
                             <ItemStyle HorizontalAlign="Left" Width="80px" />
                                    <ItemTemplate>
                                        <asp:Label ID="Label12" runat="server" Text='<%# Bind("addtime") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                              <asp:TemplateField HeaderText="修改">
                                    <ItemStyle HorizontalAlign="Center" Width="50px" />
后面还有 50 行代码,购买后查看完整代码

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

AI 解读 AI

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

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