nethoutai/QuanXian.aspx

(开头部分) 4KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QuanXian.aspx.cs" Inherits="QuanXian" %>

<!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 runat="server">
    <title>无标题页</title>
</head>
<body  background="../img/u9.jpg">
    <form id="form1" runat="server">
    <div>
    <fieldset style="width: 860px"><legend>添加权限</legend>
        <br />
        &nbsp;
        <asp:Label ID="Label1" runat="server" Text="权限名称:"></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server" Width="135px"></asp:TextBox>
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<asp:Label ID="Label2" runat="server" Text="衔接地址:"></asp:Label>&nbsp;
        <asp:TextBox ID="TextBox2" runat="server" Width="138px"></asp:TextBox>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:Label ID="Label3" runat="server" Text="所属权限:"></asp:Label>&nbsp;<asp:DropDownList
            ID="DropDownList1" runat="server" Width="115px">
        </asp:DropDownList>
        &nbsp; &nbsp;&nbsp;<br />
        &nbsp;<br />
        &nbsp;<asp:CheckBox ID="CheckBox2" runat="server" Text="是否常用" />
        &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" Text="添加" OnClick="Button1_Click" Width="63px" /></fieldset>
        <br />
        <br />
    <fieldset style="width: 861px"><legend>权限列表</legend>
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="3"
            ForeColor="#333333" GridLines="None" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
            Width="820px" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" OnRowCancelingEdit="GridView1_RowCancelingEdit" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="3">
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="i_ID" HeaderText="编号" ReadOnly="True" />
                <asp:BoundField DataField="PurviewName" HeaderText="权限名称" />
                <asp:BoundField DataField="Linkurl" HeaderText="衔接地址" />
                <asp:TemplateField HeaderText="所属权限">
                    <EditItemTemplate>
                        <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource1"
                            DataTextField="PurviewName" DataValueField="i_ID" SelectedValue='<%# Eval("i_PID") %>'>
                        </asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NetwebConnectionString %>"
                            SelectCommand="SELECT [i_ID], [PurviewName] FROM [T_Purview]"></asp:SqlDataSource>
                        &nbsp;
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("P_PurviewName") %>'></asp:Label>
                    </ItemTemplate>
                    <FooterStyle HorizontalAlign="Center" />
                </asp:TemplateField>
               <asp:CheckBoxField DataField="Beoftenuse" HeaderText="是否常用" />
                <asp:CommandField HeaderText="编辑" ShowEditButton="True" />
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
            </Columns>
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <EditRowStyle BackColor="#999999" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
后面还有 11 行代码,购买后查看完整代码

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

AI 解读 AI

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

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