⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_admin.aspx

📁 游戏币交易下单系统 .有一定参考价值.希望大家多多支持
💻 ASPX
字号:
<%@ page language="C#" autoeventwireup="true" inherits="admin, App_Web_ovvphrng" %>

<%@ Register Src="chkadmin.ascx" TagName="chkadmin" TagPrefix="uc2" %>


<!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>
    <link rel=stylesheet href='images/metal/style.css' type=text/css>
</head>
<body>
    <form id="form1" runat="server">
    <div align=center>
        &nbsp;<uc2:chkadmin id="Chkadmin1" runat="server"></uc2:chkadmin>
        <br />
        <br />
        <table width=75% cellspacing=0 cellpadding=0 align=center ID="Table16">
          <tr>
            <td class=mframe-t-left style="height: 30px"></td>
            <td class=mframe-t-mid style="height: 30px"><span class=mframe-t-text>添加管理员</span></td>
          <td class=mframe-t-right style="height: 30px"></td>
         </tr>
        </table>
        <table width=75% cellspacing=0 cellpadding=0 align=center ID="Table17">
           <tr>
              <td class=mframe-m-left></td>
              <td class=mframe-m-mid>
                    <table align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 117px; height: 34px" align="right">
                                请输入管理员名称:</td>
                            <td style="width: 135px; height: 34px">
                                <asp:TextBox ID="txtuser" runat="server"></asp:TextBox></td>
                            <td style="width: 114px; height: 34px">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtuser"
                                    ErrorMessage="管理员名称不能为空">*</asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 117px; height: 33px;" align="right">
                                请输入管理员密码:</td>
                            <td style="width: 135px; height: 33px;">
                                <asp:TextBox ID="txtpass" runat="server" TextMode="Password"></asp:TextBox></td>
                            <td style="width: 114px; height: 33px;">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtpass"
                                    ErrorMessage="密码没有输入">* </asp:RequiredFieldValidator></td>
                        </tr>
                         <tr>
                            <td style="width: 117px; height: 31px;" align="right">
                                请再次输入密码:</td>
                            <td style="width: 135px; height: 31px;">
                                <asp:TextBox ID="txtpass1" runat="server" TextMode="Password"></asp:TextBox></td>
                            <td style="width: 114px; height: 31px;">
                                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtpass"
                                    ControlToValidate="txtpass1" ErrorMessage="两次密码输入不一致"></asp:CompareValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 117px; height: 44px;">
                            </td>
                            <td style="width: 135px; height: 44px;">
                                <asp:Button ID="Button1" runat="server" Text="添加管理员" OnClick="Button1_Click" /></td>
                            <td style="width: 114px; height: 44px;">
                            </td>
                        </tr>
                    </table>
                 </td><td class=mframe-m-right></td>
             </tr>
        </table>
         <table width=75% cellspacing=0 cellpadding=0 align=center ID="Table24">
            <tr><td class=mframe-b-left></td>
                 <td class=mframe-b-mid>&nbsp;</td>
                 <td class=mframe-b-right></td>
            </tr>
        </table>
        <br />
        <br />
    
     <table width=75% cellspacing=0 cellpadding=0 align=center ID="Table1">
          <tr>
            <td class=mframe-t-left></td>
            <td class=mframe-t-mid><span class=mframe-t-text>删除管理员</span></td>
          <td class=mframe-t-right></td>
         </tr>
        </table>
        <table width=75% cellspacing=0 cellpadding=0 align=center ID="Table2">
           <tr>
              <td class=mframe-m-left></td>
              <td class=mframe-m-mid>
                    <asp:DataGrid ID="DataGrid1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" OnDeleteCommand="DataGrid1_DeleteCommand" OnItemDataBound="DataGrid1_ItemDataBound" Width="363px">
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <EditItemStyle BackColor="#2461BF" />
                        <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <AlternatingItemStyle BackColor="White" />
                        <ItemStyle BackColor="#EFF3FB" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundColumn DataField="id" HeaderText="ID号"></asp:BoundColumn>
                            <asp:BoundColumn DataField="enteru" HeaderText="管理员名称"></asp:BoundColumn>
                            <asp:ButtonColumn CommandName="Delete" HeaderText="操作" Text="删除"></asp:ButtonColumn>
                        </Columns>
                    </asp:DataGrid>  
          </td><td class=mframe-m-right></td>
             </tr>
        </table>
         <table width=75% cellspacing=0 cellpadding=0 align=center ID="Table3">
            <tr><td class=mframe-b-left></td>
                 <td class=mframe-b-mid>&nbsp;</td>
                 <td class=mframe-b-right></td>
            </tr>
        </table>          
                    
           </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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