📄 admin_user_list.aspx
字号:
<%@ Page language="c#" Codebehind="admin_user_list.aspx.cs" AutoEventWireup="false" Inherits="Websystem.admin.admin_user_list" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<base target="_self">
<link href="../css/style.css" rel="stylesheet" type="text/css">
</HEAD>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" marginwidth="0" marginheight="0">
<form id="Form1" method="post" runat="server">
<div align="center">
<TABLE style="TABLE-LAYOUT: fixed" height="100%" cellSpacing="0" cellPadding="0" width="98%"
border="0">
<TBODY>
<TR height="3" width="100%">
<TD>
<TABLE style="TABLE-LAYOUT: fixed" height="3" cellSpacing="0" cellPadding="0" width="100%"
border="0">
<TBODY>
<TR height="1">
<TD width="1"></TD>
<TD width="1"></TD>
<TD width="1"></TD>
<TD bgColor="#dcdcdc"></TD>
<TD width="1"></TD>
<TD width="1"></TD>
<TD width="1"></TD>
</TR>
<TR height="1">
<TD></TD>
<TD bgColor="#dcdcdc" colSpan="2"></TD>
<TD bgColor="#f7f8f9"></TD>
<TD bgColor="#dcdcdc" colSpan="2"></TD>
<TD></TD>
</TR>
<TR height="1">
<TD></TD>
<TD bgColor="#dcdcdc"></TD>
<TD bgColor="#f7f8f9" colSpan="3"></TD>
<TD bgColor="#dcdcdc"></TD>
<TD></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD>
<TABLE style="TABLE-LAYOUT: fixed" height="100%" cellSpacing="0" cellPadding="0" border="0">
<TBODY>
<TR>
<TD width="1" bgColor="#dcdcdc"></TD>
<TD id="oINNER" bgColor="#ffffff">
<table id="table1" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td align="left" colSpan="3" height="24"><font color="#999999"><b> 用户列表 </b></font></td>
</tr>
<tr>
<td vAlign="top" align="left" bgColor="#ffffff"><TABLE id="table2" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD vAlign="top" align="left"><asp:datagrid id="MyDataGrid" runat="server" AutoGenerateColumns="False" BorderColor="Black" BorderWidth="1px"
CellPadding="3" AllowPaging="True" HorizontalAlign="Center" AlternatingItemStyle-BackColor="#eeeeee" HeaderStyle-BackColor="#aaaadd"
Font-Size="8pt" Font-Name="Verdana" OnPageIndexChanged="MyDataGrid_Page" PagerStyle-HorizontalAlign="Right" PagerStyle-Mode="NumericPages"
PageSize="8" Font-Names="Verdana" Width="100%">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#EEEEEE"></AlternatingItemStyle>
<ItemStyle ForeColor="#000066"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#006699"></HeaderStyle>
<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
<Columns>
<asp:TemplateColumn HeaderText="删除">
<HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<HeaderTemplate>
<FONT face="宋体"><INPUT class="button1" type="submit" value="删除"></FONT>
</HeaderTemplate>
<ItemTemplate>
<INPUT id="delid" name="delid" type="checkbox" value="<%# DataBinder.Eval(Container.DataItem,"id")%>">
</ItemTemplate>
</asp:TemplateColumn>
<asp:HyperLinkColumn DataNavigateUrlField="id" DataNavigateUrlFormatString="admin_user_edit.aspx?id={0}"
DataTextField="login_name" HeaderText="用户名">
<HeaderStyle HorizontalAlign="Center" Width="45%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:HyperLinkColumn>
<asp:BoundColumn DataField="login_pass" HeaderText="密码">
<HeaderStyle HorizontalAlign="Center" Width="45%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
</Columns>
<PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
<P style="FONT-SIZE: 9pt" align="center"><asp:label id="lblPageCount" runat="server"></asp:label>
<asp:label id="lblCurrentIndex" runat="server"></asp:label>
<asp:linkbutton id="btnFirst1" onclick="PagerButtonClick" runat="server" Font-Name="verdana" ForeColor="navy"
Font-size="8pt" CommandArgument="0"></asp:linkbutton>
<asp:linkbutton id="btnPrev1" onclick="PagerButtonClick" runat="server" Font-Name="verdana" ForeColor="navy"
Font-size="8pt" CommandArgument="prev"></asp:linkbutton>
<asp:linkbutton id="btnNext1" onclick="PagerButtonClick" runat="server" Font-Name="verdana" ForeColor="navy"
Font-size="8pt" CommandArgument="next"></asp:linkbutton>
<asp:linkbutton id="btnLast1" onclick="PagerButtonClick" runat="server" Font-Name="verdana" ForeColor="navy"
Font-size="8pt" CommandArgument="last"></asp:linkbutton></P>
<div align="center">
<table id="table3" width="90%" border="0">
<tr>
<td align="right" width="30%" height="25">用户名:</td>
<td width="64%" height="25"><asp:textbox id="i1" runat="server" CssClass="InputText" DESIGNTIMEDRAGDROP="311" Width="160px"></asp:textbox> </td>
</tr>
<TR>
<td align="right" width="30%" height="25">密码:</td>
<td width="64%" height="25">
<asp:textbox id="i2" runat="server" Width="160px" CssClass="InputText" TextMode="Password"></asp:textbox></td>
</TR>
<tr>
<td align="right" width="30%" height="25">重复密码:</td>
<td width="64%" height="25">
<asp:textbox id="i3" runat="server" Width="160px" CssClass="InputText" TextMode="Password"></asp:textbox>
<asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="密码不一致" ControlToCompare="i2"
ControlToValidate="i3"></asp:CompareValidator></td>
</tr>
</B></B></B></B></B></B>
<tr>
<td align="center" colSpan="2" height="25"><asp:button id="Button1" runat="server" CssClass="Button1" Text="增加"></asp:button></td>
</tr>
</table>
</div>
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</TD>
<TD width="1" bgColor="#dcdcdc"></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR height="3" width="100%">
<TD>
<TABLE style="TABLE-LAYOUT: fixed" height="3" cellSpacing="0" cellPadding="0" width="100%"
border="0">
<TBODY>
<TR height="1">
<TD width="1"></TD>
<TD width="1" bgColor="#dcdcdc"></TD>
<TD width="1" bgColor="#f7f8f9"></TD>
<TD bgColor="#f7f8f9"></TD>
<TD width="1" bgColor="#f7f8f9"></TD>
<TD width="1" bgColor="#dcdcdc"></TD>
<TD width="1"></TD>
</TR>
<TR height="1">
<TD></TD>
<TD bgColor="#dcdcdc" colSpan="2"></TD>
<TD bgColor="#f7f8f9"></TD>
<TD bgColor="#dcdcdc" colSpan="2"></TD>
<TD></TD>
</TR>
<TR height="1">
<TD colSpan="3"></TD>
<TD bgColor="#dcdcdc"></TD>
<TD colSpan="3"></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</div>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -