Web/Admin/AdminAmend.aspx

(开头部分) 5KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminAmend.aspx.cs" Inherits="Web_Admin_AdminAmend" %>

<!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>
</head>
<body style="font-size: small" bgcolor="#339999">
    <form id="form1" runat="server">
    <div style="text-align: center">
        &nbsp;
        <asp:Panel ID="Panel2" runat="server" Height="255px" Style="text-align: center; border-right: #0066ff thin double; border-top: #0066ff thin double; border-left: #0066ff thin double; border-bottom: #0066ff thin double; background-color: #339999;" Width="465px">
            <asp:ScriptManager ID="ScriptManager2" runat="server">
            </asp:ScriptManager>
            <table style="width: 142%; height: 52px">
                <tr>
                    <td colspan="2" style="width: 461px; height: 73px">
                        <table style="width: 625px; position: static; height: 73px">
                            <tr>
                                <td style="width: 100px; height: 33px">
                                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                        <ContentTemplate>
                                            <table style="width: 504px; position: static">
                                                <tr>
                                                    <td style="width: 100px; height: 25px; text-align: right;">
                                                        <asp:Label ID="LblName" runat="server" Text="管理员账号:"></asp:Label></td>
                                                    <td style="width: 100px; height: 25px; text-align: left;">
                                                        <asp:TextBox ID="TxtName" runat="server" Style="position: static" Width="92px"></asp:TextBox></td>
                                                    <td style="width: 100px; height: 25px">
                                                        <asp:Label ID="LblMassage" runat="server" ForeColor="Red" Style="font-size: small;
                                                            position: static"></asp:Label></td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                                <td style="vertical-align: top; width: 100px; height: 33px; text-align: left">
                                    &nbsp;<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Web/Admin/image/Lookup.gif"
                                        OnClick="BtnSubmit_Click1" Style="position: static" /></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GVAdmin" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
                Height="195px" Style="border-right: #006666 thin dotted; border-top: #006666 thin dotted;
                border-left: #006666 thin dotted; border-bottom: #006666 thin dotted" Width="755px" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="6" DataKeyNames="Id" OnRowDeleting="GVAdmin_RowDeleting" >
                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="Id" HeaderText="管理员序号" />
                    <asp:BoundField DataField="Name" HeaderText="管理员账号" />
                    <asp:BoundField DataField="Pwd" HeaderText="管理员密码" />
                    <asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="AdminUpdate.aspx?Id={0}"
                        HeaderText="修改" Text="修改" />
                    <asp:TemplateField HeaderText="删除" ShowHeader="False">
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                Text="删除" OnClientClick="return confirm('是否删除当前行数据!')"></asp:LinkButton>
                        </ItemTemplate>
后面还有 17 行代码,购买后查看完整代码

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

AI 解读 AI

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

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