modifyuser.aspx

来自「大中型酒店管理系统」· ASPX 代码 · 共 56 行

ASPX
56
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="modifyuser.aspx.cs" Inherits="userinfo_modifyuser" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: underline;
	color: #FF0000;
}
a:active {
	text-decoration: none;
}
-->
</style></head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="400px" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="60" align="center">序 号</td>
    <td width="100" align="center">用 户 名</td>
    <td width="100" align="center">用 户 类 型</td>
    <td height="30" align="center">操 作</td>
    </tr>
    <asp:Repeater ID="usermodi" runat="server">
    <ItemTemplate>
    <tr>
    <td align="center"><%#DataBinder.Eval(Container.DataItem,"userid") %></td>
    <td align="center"><%#DataBinder.Eval(Container.DataItem,"useradmin") %></td>
    <td align="center"><%#DataBinder.Eval(Container.DataItem,"power") %></td>
    <td height="30" align="center"><a href="usermodify.aspx?id=<%#Eval("userid") %>">编辑</a>&nbsp;&nbsp;
            <asp:LinkButton ID="LinkButton1" CommandName='<%#Eval("userid") %>' OnCommand="DelComm_Click" onclientclick="return confirm('确定要删除吗?');" runat="server">删除</asp:LinkButton></td>
    </tr>
    </ItemTemplate>
    </asp:Repeater>
    </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?