📄 deleteuser.aspx
字号:
<%@ Page language="c#" Codebehind="DeleteUser.aspx.cs" AutoEventWireup="false" Inherits="BookManager.DeleteUser" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>DeleteUser</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
.style5 { FONT-SIZE: 9pt; COLOR: #0066ff }
</style>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table width="80%" border="0" align="center">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="3%"><img src="pic/ym7.gif" width="25" height="24"></td>
<td width="16%" bgcolor="#e1dfff"><span class="style5">用户角色管理</span></td>
<td width="2%"><img src="pic/ym8.gif" width="19" height="24"></td>
<td width="79%" style="BORDER-BOTTOM: #e1dfff 4px solid"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="15"> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25%"> </td>
<td width="20%">
<asp:Button id="btAddUser" runat="server" Text="添加用户" CausesValidation="False"></asp:Button></td>
<td width="20%">
<asp:Button id="btDeleteUser" runat="server" Text="删除用户" CausesValidation="False"></asp:Button></td>
<td width="45%"> </td>
</tr>
</table>
</td>
</tr>
<TR>
<TD></TD>
</TR>
<tr>
<td>
<asp:DataGrid id="dgUser" runat="server" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px"
CellSpacing="1" BackColor="White" CellPadding="3" GridLines="None" Font-Size="9pt" Width="100%" DataSource="<%# dsUserInfo %>" DataKeyField="UserId" DataMember="tblRole" AutoGenerateColumns="False">
<FooterStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#C6C3C6"></FooterStyle>
<SelectedItemStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="White" BackColor="#9471DE"></SelectedItemStyle>
<EditItemStyle HorizontalAlign="Center"></EditItemStyle>
<AlternatingItemStyle HorizontalAlign="Center"></AlternatingItemStyle>
<ItemStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#DEDFDE"></ItemStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#E7E7FF" BackColor="#4A3C8C"></HeaderStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="UserId" HeaderText="UserId"></asp:BoundColumn>
<asp:BoundColumn DataField="UserName" SortExpression="UserName" ReadOnly="True" HeaderText="姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="Email" SortExpression="Email" ReadOnly="True" HeaderText="邮箱"></asp:BoundColumn>
<asp:BoundColumn DataField="RoleName" SortExpression="RoleName" ReadOnly="True" HeaderText="角色"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="删除">
<ItemTemplate>
<FONT face="宋体">
<asp:Button id="btDelete" runat="server" Text="删除" CommandName="UsrDelete"></asp:Button></FONT>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#C6C3C6"></PagerStyle>
</asp:DataGrid></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -