📄 usermanage.aspx
字号:
<%@ Register TagPrefix="webui" Namespace="Club.Common.WebUI" Assembly="Club.Common" %>
<%@ Register TagPrefix="page" Namespace="Club.Common" Assembly="Club.Common" %>
<%@ Page language="c#" Codebehind="UserManage.aspx.cs" AutoEventWireup="false" Inherits="Club.Manage.UserManage" %>
<%@ Import Namespace="Club.Framework"%>
<webui:ManagePage id="PageManage" runat="server">
<webui:ContentRegion id="titleContains" runat="server">会员管理</webui:ContentRegion>
<webui:ContentRegion id="headerContains" runat="server">
<LINK href="css/default.css" type="text/css" rel="stylesheet">
</webui:ContentRegion>
<webui:ContentRegion id="Content" runat="server">
<FORM id="Form1" runat="server">
<DIV>
<h2>会员管理</h2>
总会员数:<asp:label id="txtCount" runat="server"></asp:label>
搜索:<asp:TextBox id="txtKeywrod" text="请要搜索的输入用户名或呢称" style="width:200px" onclick="this.select()" runat="server"></asp:TextBox><asp:button id="btnSearch" text="搜索" runat="server"></asp:button>
<page:sqlpager id="pageList" runat="server" ControlToPaginate="rptList" BackColor="Gainsboro" PagingMode="NonCached"
SortKeyField="[Id]" Width="100%" PagerStyle="NumericPages" ItemsPerPage="10"></page:sqlpager></DIV>
<DIV class="userList">
<asp:Repeater id="rptList" runat="server">
<ItemTemplate>
<table>
<tr>
<th>编号:</th>
<td><%#DataBinder.Eval(Container.DataItem, "ID")%></td>
</tr>
<tr>
<th>
用户名:
</th>
<td>
<a href="<%#Globals.UrlFormats.SiteHome((int)DataBinder.Eval(Container.DataItem, "ID"))%>" target="_blank"><%#DataBinder.Eval(Container.DataItem, "Username")%>
</td>
</tr>
<tr>
<th>
姓名:
</th>
<td>
<%#DataBinder.Eval(Container.DataItem, "FamilyName")%><%#DataBinder.Eval(Container.DataItem, "FirstName")%>
</td>
</tr>
<tr>
<th>呢称:</th>
<td><%#DataBinder.Eval(Container.DataItem, "NiceName")%></td>
</tr>
<tr>
<th>
操作
</th>
<td><asp:TextBox id="txtId" Text='<%#DataBinder.Eval(Container.DataItem, "Id")%>' Visible=false runat="server"></asp:TextBox>
<asp:button id="txtEdit" commandName="Edit" text="编辑权限" runat="server"></asp:button>
<asp:button id="txtDelete" commandName="Delete" text="删除" runat="server"></asp:button>
<asp:button id="txtLogin" commandName="Login" text="匿名登陆管理用户数据" runat="server"></asp:button></td>
</tr>
</table>
</ItemTemplate>
</asp:Repeater></UL>
</DIV>
</FORM>
</webui:ContentRegion>
</webui:ManagePage>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -