RankView.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="RankView.aspx.cs" Inherits="RankView" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function PurviewSetup(Rank_Code) {
    window.open("Dialog/Purview.aspx?Rank_Code=" + Rank_Code,"PurviewSetup","top=100px,left=200px,width=430px,height=500px,scrollbars=yes,resizable=no,status=yes,toolbar=no,menubar=no,location=no");
}

// ]]>
</script>
        <div class="c_MainLeft">
	<ul style="text-align:left;">
    <li style="list-style-type: none;height:120px;">
        <img src="images/045.png" /></li><li style="list-style-type: none;height:40px;"></li>
    <li style="list-style-type: none;height:40px;">共有<asp:Label ID="lbl_Count" runat="server"
        Style="color: red"></asp:Label>个级别</li><li style="list-style-type: none;height:40px;"></li>
    </ul>
        </div>
        <div class="c_MainRight">
            <asp:Panel ID="pRank" runat="server" CssClass="c_Menu3">
                <asp:LinkButton ID="lbRankAdd" runat="server" OnClick="lbRankAdd_Click" CssClass="c_Menu3Button">新增</asp:LinkButton>
                <asp:LinkButton ID="lbRankEdit" runat="server" OnClick="lbRankEdit_Click" CssClass="c_Menu3Button">修改</asp:LinkButton></asp:Panel>
            <asp:GridView ID="GV_Rank" runat="server" AutoGenerateColumns="False" CellPadding="4"
                ForeColor="#333333" OnRowDeleting="GV_Rank_RowDeleting" OnSelectedIndexChanging="GV_Rank_SelectedIndexChanging"
                Style="width: 100%" OnRowDataBound="GV_Rank_RowDataBound">
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="Rank_Code" HeaderText="级别代码">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle Width="30%" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Rank_Name" HeaderText="级别名称">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle Width="40%" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="权限设置">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle Width="10%" />
                    </asp:TemplateField>
                    <asp:CommandField HeaderText="选择" ShowSelectButton="True">
                        <HeaderStyle Width="10%" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:CommandField>
                    <asp:TemplateField HeaderText="删除" ShowHeader="False">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle Width="10%" />
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                OnClientClick='return confirm("确认要删除吗?")' Text="删除"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <RowStyle BackColor="#EFF3FB" />
                <EditRowStyle BackColor="#2461BF" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
后面还有 3 行代码,解锁后查看完整代码

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

AI 解读

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

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