Demo/Prize.aspx

(开头部分) 3KB

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

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Prize.aspx.cs" Inherits="Demo.Prize" %>

<asp:Content ID="Contentscript" ContentPlaceHolderID="head" runat="Server">
    <style>
        table {
            width: 829px;
            margin: auto;
        }

        tbody {
            text-align: center;
        }
        .auto-style1 {
            width: 412px;
        }
        .auto-style4 {
            width: 303px;
        }
        .auto-style5 {
            width: 47px;
            height: 21px;
                border: 1px solid;
                padding: 2px;
        }
        .auto-style7 {
            width: 199px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
        <div>
        <h1>奖品列表
        </h1>
    </div>
    <div>
        <table>
            <tr>
                <td class="auto-style7">标题</td>
                <td class="auto-style1">
                    <asp:TextBox runat="server" ID="TextboxName" Width="160px"></asp:TextBox>
                </td>
                <td class="auto-style4">
                                <asp:Button runat="server" Text="查询" OnClick="Unnamed1_Click" Width="48px" />
                </td>
                <td>
                                                        <h5 class="auto-style5"><a href="AddPrize.aspx">添加</a></h5>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="GridViewbook" runat="server" AutoGenerateColumns="False" DataKeyNames="id" CellPadding="4" ForeColor="#333333" GridLines="None" Height="147px" OnRowCancelingEdit="GridViewbook_RowCancelingEdit" OnRowDeleting="GridViewbook_RowDeleting" OnRowEditing="GridViewbook_RowEditing" OnRowUpdating="GridViewbook_RowUpdating" Width="746px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="Id" HeaderText="编号" ReadOnly="true" />
            <asp:BoundField DataField="PrizeName" HeaderText="标题" />
            <asp:BoundField DataField="PrizeContent" HeaderText="内容" />
            <asp:CommandField HeaderText="操作" ShowDeleteButton="True" />
            <asp:CommandField HeaderText="操作" ShowEditButton="True" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
后面还有 11 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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