Backup/Web/Admin/ManagerAdmin.aspx

(开头部分) 6KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManagerAdmin.aspx.cs" Inherits="MrZeng.Web.Admin.ManagerAdmin" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!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 style="margin:auto; font-size:12px; text-align:center;">
    <form id="form1" runat="server">
    <div>
    <asp:Panel ID="Panel1" runat="server">
         <div style="width:70%; padding-top:10px; padding-bottom:10px; text-align:left;">
              <asp:Button ID="BtnAddAdmin" runat="server" Text="增加管理员" Width="150px" 
                  Height="25px" onclick="BtnAddAdmin_Click" />
         </div> 
         <div style="width:70%; padding-top:10px; padding-bottom:10px;">
             <asp:GridView ID="gvAdmin" runat="server" AutoGenerateColumns="False"  
                 Font-Size="12px" DataKeyNames="ID" Width="100%" 
                 onrowcommand="gvAdmin_RowCommand" >
                 <RowStyle HorizontalAlign="Center" />
                 <Columns>
                        <asp:BoundField DataField="ID" HeaderText="ID" />
                        <asp:BoundField DataField="AdminName" HeaderText="登录名" />
                        <asp:BoundField DataField="RealName" HeaderText="真实姓名" />
                        <asp:BoundField DataField="Email" HeaderText="Email" />
                        <asp:BoundField DataField="Rights" HeaderText="权限" />
                        <asp:BoundField DataField="LoadDate" HeaderText="注册日期" />
                        <asp:TemplateField HeaderText="常规操作">
                        <ItemTemplate>
                                <asp:ImageButton ID="ImageActivate" runat="server" CommandArgument='<%# Eval("ID") %>' CommandName="updates" ImageUrl="Images/Update.jpg" Width="50px"/>
                                <asp:ImageButton ID="ImageBtnDelete" runat="server" CommandArgument='<%# Eval("ID") %>' CommandName="deletes" ImageUrl="Images/Delete.jpg" Width="50px" OnClientClick="return confirm('确定要删除吗?')"/>
                        </ItemTemplate>
                        </asp:TemplateField>
                 </Columns>
             </asp:GridView>
         </div>
         <div style="width:100%;">
             <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="10" FirstPageText="首页" 
                        HorizontalAlign="Center" LastPageText="尾页" NextPageText="下一页" 
                        PrevPageText="上一页" onpagechanged="AspNetPager1_PageChanged" PageIndexOutOfRangeErrorMessage="没有您要的数据" 
                        ShowBoxThreshold="6" ShowCustomInfoSection="Left" >
              </webdiyer:AspNetPager>
         </div>
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" Visible="false" >
        <div style="width:300px; padding-top:100px; padding-bottom:100px; text-align:left;">
              <div style="width:100%;">
                   登录名:&nbsp;&nbsp;
                  <asp:Label ID="ID" runat="server" Text="Label" Visible="false" ></asp:Label>
                  <asp:Label ID="AdminName" runat="server" Text="Label"></asp:Label>
              </div>
               <div style="width:100%; padding-top:10px;">
                  密&nbsp;&nbsp;&nbsp;&nbsp;码:&nbsp;&nbsp;
                  <asp:TextBox ID="Password" runat="server" TextMode="Password" ></asp:TextBox>
              </div>
              <div style="width:100%; padding-top:10px;">
                  姓&nbsp;&nbsp;&nbsp;&nbsp;名:&nbsp;&nbsp;
                  <asp:TextBox ID="RealName" runat="server"></asp:TextBox>
后面还有 59 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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