SearchSP.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SearchSP.aspx.cs" Inherits="SearchSP" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <DIV class="maincolumntitle">
<DIV class="maincolumntitle01" style="color: #ffffff"><SPAN class="macon"></SPAN>蛋糕搜索</DIV>
<DIV class="maincolumntitle02"><A href="NewSPList.aspx"><SPAN 
class="more1"></SPAN></A></DIV></DIV><table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
        <tr>
            <td align="center" bgcolor="#fbfbfb" class="middle_border_1 margin_middle1" style="width: 661px">
                类别:<asp:DropDownList ID="DropDownList1" runat="server" Width="135px">
    </asp:DropDownList>名称关键字:<asp:TextBox ID="TxtName" runat="server" Style="border-right: #ffcc00 1px solid;
        border-top: #ffcc00 1px solid; border-left: #ffcc00 1px solid; border-bottom: #ffcc00 1px solid"
        Width="96px"></asp:TextBox>
    <asp:Button ID="btnRegister" runat="server" CausesValidation="False" Font-Size="12pt"
        OnClick="btnRegister_Click" Text="查询" /></td>
        </tr>
        <tr>
            <td align="left" bgcolor="#fbfbfb" class="middle_border_1 margin_middle1" style="width: 661px">
                <asp:DataList ID="DataList1" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"
                    Width="100%">
                    <ItemTemplate>
                        <div class="product1" style="width: 153px">
                            <div class="product">
                                <table cellpadding="0" cellspacing="0" height="100%" width="100%">
                                    <tbody>
                                        <tr align="center" valign="middle">
                                            <td style="height: 122px">
                                                <a class="highlightit" href='ShowSP.aspx?id=<%#Eval("SPID") %>'>
                                                    <img alt="" border="0" src='files/<%#Eval("SPPhoto")%>' style="width: 116px;
                                                        height: 100px" /></a></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="ptxt">
                                <a href='ShowSP.aspx?id=<%#Eval("SPID") %>'>
                                    <%#Eval("SPName").ToString().Length > 25 ? CutChar(Eval("SPName").ToString(), 32) + "..." : Eval("SPName")%>
                                </a>
                            </div>
                            ¥
                            <%#Eval("SPPrice")%>
                            &nbsp; &nbsp; 总销量:<%#Eval("ZongXiaoLiang")%>
                        </div>
                    </ItemTemplate>
                </asp:DataList></td>
        </tr>
        <tr style="color: #333333">
            <td align="center" bgcolor="#fbfbfb" class="middle_border_1 margin_middle1" style="width: 661px;
                height: 38px">
                共【<asp:Label ID="lblSumPage" runat="server"></asp:Label>】页 &nbsp; &nbsp; &nbsp;
                当前第【<asp:Label ID="lblCurrentPage" runat="server"></asp:Label>】页&nbsp;
                <asp:HyperLink ID="hyfirst" runat="server">首页</asp:HyperLink>
                &nbsp; &nbsp; &nbsp;<asp:HyperLink ID="lnkPrev" runat="server">上一页</asp:HyperLink>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                <asp:HyperLink ID="lnkNext" runat="server">下一页</asp:HyperLink>
                &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                <asp:HyperLink ID="hylastpage" runat="server">尾页</asp:HyperLink>
            </td>
        </tr>
    </table>
</asp:Content>
后面还有 1 行代码,购买后查看完整代码

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

AI 解读

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

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