web/Manager/CollItem.aspx

(开头部分) 22KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CollItem.aspx.cs" Inherits="XkCms.Manager.CollItem" %>

<!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>
    <form id="form1" runat="server">
    <table align="center" cellpadding="1" cellspacing="1" class="TableBorder" width="98%">
        <tr>
            <td align="left" class="forumRow" height="22" width="40%">
                当前位置:采集项目管理
            </td>
            <td class="forumRow" align="center" width="20%">
                <a href="?"><b>管理首页</b></a> | <a href="?action=add"><b>添加</b></a>
            </td>
            <td align="right" class="forumRow" width="40%" style="color: #ff0000">
                </td>
        </tr>
    </table>
    <br />
    <asp:Panel ID="plList" runat="server" Width="100%" HorizontalAlign="Center">
        <asp:GridView ID="gvList" runat="server" Width="98%" AutoGenerateColumns="False" CellPadding="5" GridLines="None" CssClass="tableBorder" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID">
                    <ItemStyle HorizontalAlign="Center" Width="40px" Wrap="False" />
                    <HeaderStyle Width="40px" />
                </asp:BoundField>
                <asp:BoundField DataField="title" HeaderText="项目名称">
                    <ItemStyle HorizontalAlign="Center" Width="80px" Wrap="False" />
                    <HeaderStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="webname" HeaderText="采集来源">
                    <ItemStyle HorizontalAlign="Center" Width="80px" Wrap="False" />
                    <HeaderStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="channelname" HeaderText="所属频道">
                    <ItemStyle HorizontalAlign="Center" Width="80px" Wrap="False" />
                    <HeaderStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="columnname" HeaderText="所属栏目">
                    <ItemStyle HorizontalAlign="Center" Width="80px" Wrap="False"  />
                    <HeaderStyle Width="80px" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="状态">
                    <ItemStyle HorizontalAlign="Center" Width="40px" Font-Bold="True" Wrap="False" />
                    <HeaderStyle Width="40px" />
                    <ItemTemplate>
                        <%# chkFlag(Eval("flag","{0}")) %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <ItemStyle HorizontalAlign="Center" Width="120px" Wrap="False" />
                    <ItemTemplate>
                        <a href='?action=add&id=<%# Eval("id","{0}") %>'>编辑</a>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                            Text="删除"></asp:LinkButton>
                        <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument='<%# Eval("id") %>' OnCommand="LinkButton2_Command">复制</asp:LinkButton>
后面还有 349 行代码,解锁后查看完整代码

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

AI 解读

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

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