Web8/Admin/zidian/fenlei.aspx

(开头部分) 7KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="fenlei.aspx.cs" Inherits="Tc.Web.Admin.zidian.fenlei" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>分类管理</title>
    <link href="../css/base.css" rel="stylesheet" type='text/css'>
</head>
<body background='../images/allbg.gif' leftmargin='8' topmargin='8'>
    <form id="form1" runat="server">
        <div style="text-align: center">
            <table width="99.9%" border="0" cellpadding="2" cellspacing="0" bgcolor="#D1DDAA"
                align="center" style="margin-top: 8px">
                <tr bgcolor="#E7E7E7">
                    <td height="24" background="../img/tbg.gif" style="text-align: left">◆ 分类管理 &gt;
                    <asp:Label ID="lblTitle" runat="server"></asp:Label>
                        &nbsp;
                    </td>
                    <td background="../img/tbg.gif" style="text-align: right; color: Red">排序数字越小越靠前!
                    </td>
                </tr>
            </table>
            <br />
            <asp:GridView ID="gvqy" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
                Style="margin: auto;" OnRowCancelingEdit="gvqy_RowCancelingEdit" OnRowEditing="gvqy_RowEditing"
                OnRowUpdating="gvqy_RowUpdating" OnRowDataBound="gvqy_RowDataBound"
                Width="90.9%" CellPadding="4" EnableModelValidation="True" ForeColor="#333333" GridLines="Both">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <%--<asp:BoundField DataField="id" HeaderText="编号" SortExpression="id" ReadOnly="True" />--%>
                    <asp:TemplateField HeaderText="排序" SortExpression="sequence" ItemStyle-Width="20%">
                        <ItemTemplate>
                            <asp:Label ID="lblqypx" runat="server" Text='<%# Bind("Paixu") %>'></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="txtqypx" runat="server" Text='<%# Bind("Paixu") %>' Width="50px"></asp:TextBox>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtqypx"
                                Display="Dynamic" ErrorMessage="请输入整数!" Operator="DataTypeCheck" Type="Integer"
                                ValidationGroup="paixu">请输入整数!</asp:CompareValidator>
                        </EditItemTemplate>
                        <HeaderStyle BorderColor="#CBD8AC" CssClass="gvheaderbg" />
                        <ItemStyle BorderColor="#CBD8AC" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="名称" SortExpression="name" ItemStyle-Width="20%">
                        <ItemTemplate>
                            <asp:Label ID="lblqymc" runat="server" Text='<%# Bind("name") %>'></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:DropDownList ID="ddlcate" runat="server"></asp:DropDownList>
                            <asp:HiddenField ID="hidpid" runat="server" Value='<%# Bind("pid") %>' />
                            <asp:TextBox ID="txtqymc" runat="server" Text='<%# Bind("name") %>' Width="200"
                                TextMode="SingleLine"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtqymc"
                                Display="Dynamic" ErrorMessage="请输入名称!" ValidationGroup="paixu">请输入名称!</asp:RequiredFieldValidator>
                        </EditItemTemplate>
                        <HeaderStyle BorderColor="#CBD8AC" CssClass="gvheaderbg" />
                        <ItemStyle BorderColor="#CBD8AC" HorizontalAlign="Left" />
                    </asp:TemplateField>
后面还有 58 行代码,购买后查看完整代码

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

AI 解读 AI

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

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