nethoutai/副本 GroupManage.aspx
(完整代码) 3KB<%@ Page Language="C#" AutoEventWireup="true" CodeFile="副本 GroupManage.aspx.cs" Inherits="GroupManage" %>
<!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>
<script language="javascript" type="text/javascript">
function OpenWin(w,h,url)
{
var l=(window.screen.width/2)-w/2;
var t=(window.screen.height/2)-h/2;
window.open(url,'选择权限','width='+w+',height='+h+',top='+t+',left='+l+',menubar=no,toobar=no,scrollbars=yes,resizable=no,status=no,loation=no');
}
</script>
</head>
<body background="../img/u3.jpg">
<form id="form1" runat="server">
<div>
<fieldset>
<legend style="">用户组添加</legend>
<div>
<asp:Label ID="Label1" runat="server" Text="组名称:"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Label ID="Label2" runat="server" Text="权限:"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server" onclick ="OpenWin(400,400,'selectPurview.aspx')"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="添加" OnClick="Button1_Click" />
</div>
</fieldset>
<fieldset>
<legend>用户组列表</legend>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="1"
ForeColor="#333333" GridLines="None" Width="413px" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" PageSize="3" OnRowDeleting="GridView1_RowDeleting">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="i_ID" HeaderText="编号" ReadOnly="True" />
<asp:BoundField DataField="GroupName" HeaderText="用户组名称" />
<asp:BoundField DataField="PurviewList" HeaderText="权限列表" />
<asp:CommandField HeaderText="编辑" ShowEditButton="True" />
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="#E3EAEB" />
<EditRowStyle BackColor="#7C6F57" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</fieldset>
</div>
</form>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。