webForm/Manager/Diss.aspx

(开头部分) 6KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Diss.aspx.cs" Inherits="XkCms.Manager.Diss" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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%">
                当前位置:<asp:Label ID="lblChannel" runat="server" Text="Label"></asp:Label> --&gt; 专题管理
            </td>
            <td align="center" class="forumRow" width="20%">
                <a href="?ChannelId=<%=ChannelId %>"><b>管理首页</b></a> | <a href="?action=add&ChannelId=<%=ChannelId %>">
                    <b>添加</b></a>
            </td>
            <td align="right" class="forumRow" width="40%">
            </td>
        </tr>
    </table>
    <br />
    <asp:Panel ID="plList" runat="server" Width="100%" HorizontalAlign="Center">
        <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" CellPadding="5" GridLines="None" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" EmptyDataText="暂无专题" CssClass="tableBorder" DataKeyNames="id" Width="98%">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID" DataFormatString="&amp;nbsp;[&lt;font color=3366cc&gt;{0}&lt;/font&gt;]&amp;nbsp;">
                    <itemstyle width="50px" HorizontalAlign="Right" />
                    <headerstyle width="50px"/>
                </asp:BoundField>
                <asp:BoundField DataField="title" HeaderText="专题名称">
                    <ItemStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="推荐">
                    <ItemStyle HorizontalAlign="Center" Width="60px" />
                    <HeaderStyle HorizontalAlign="Center" Width="60px" />
                    <ItemTemplate>
                        <%# chkTop(Eval("isTop","{0}")) %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <itemstyle width="120px" HorizontalAlign="Center" />
                    <headerstyle width="120px" HorizontalAlign="Center" />
                    <itemtemplate>
                        <a href='?action=add&ChannelId=<%# Eval("ChannelId") %>&id=<%#Eval("id") %>'>编辑</a>
                        <asp:LinkButton id="LinkButton6" runat="server" Text="删除" CausesValidation="False" CommandName="Delete">
                    </asp:LinkButton> 
</itemtemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </asp:Panel>
        <asp:Panel ID="plEdit" runat="server" HorizontalAlign="Center" Width="100%">
            <table border="0" cellpadding="5" cellspacing="0" class="tableBorder" width="98%">
                <tr>
                    <th colspan="2">
                        添加专题</th>
                </tr>
                <tr>
后面还有 52 行代码,解锁后查看完整代码

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

AI 解读

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

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