Admin/Admin.aspx

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin.aspx.cs" Inherits="Admin_Admin" %>
<!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 id="Head1" runat="server">
     <title>小区物业管理系统</title>
     <link  href="css/common.css" type="text/css" rel="stylesheet"/>


</head>
<body>
    <form id="form1" runat="server">

		  <table align="center" border="0" cellpadding="3" cellspacing="1" style="width: 100%;">
            <tr>
                <td width="100%" style="background-color: #e8e8e8; text-align: center; height: 25px;">
                    管理员账号管理</td>
            </tr>
              <tr>
                  <td align="center" style="height: 30px" width="50%">
                      登陆账号:<asp:TextBox ID="txtname" runat="server" Width="138px" ValidationGroup="2"></asp:TextBox>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtname"
                          ErrorMessage="*" ValidationGroup="2"></asp:RequiredFieldValidator>登陆密码:<asp:TextBox
                          ID="TextBox1" runat="server" TextMode="Password" Width="138px" ValidationGroup="2"></asp:TextBox>&nbsp;
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                          ErrorMessage="*" ValidationGroup="2"></asp:RequiredFieldValidator>
                      <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加账号" ValidationGroup="2" />
                  </td>
              </tr>
            <tr>
                <td width="50%" style="height: 30px">
                    <asp:GridView ID="GvInfo" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        BackColor="White" CellPadding="5" DataKeyNames="id" OnPageIndexChanging="GvInfo_PageIndexChanging"
                        OnRowDataBound="GvInfo_RowDataBound" PageSize="12" Width="100%">
                        <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast"
                            NextPageText="下一页" PageButtonCount="12" PreviousPageText="上一页" />
                        <RowStyle HorizontalAlign="Left" />
                        <Columns>
                        

                            <asp:TemplateField HeaderText="登陆账号">
                                <ItemTemplate>
                                    <asp:Label ID="Name" runat="server" Width="179px"><%# Eval("Name") %></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Left" Width="80px" />
                            </asp:TemplateField>
                            
                             
                             <asp:TemplateField HeaderText="登陆密码">
                                <ItemTemplate>
                                
                             
                                    <asp:Label ID="Pwd"  TextMode="Password"  runat="server" Width="179px">********************</asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Left" Width="80px" />
                            </asp:TemplateField>
                            
                            <asp:TemplateField HeaderText="选择">
                                <EditItemTemplate>
                                    <asp:CheckBox ID="CheckBox1" runat="server" />
后面还有 50 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。