Default.aspx

(开头部分) 3KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MyPetShop.Default3" %><%@ Register src="userControl/NewProduct.ascx" tagname="NewProduct" tagprefix="uc1" %>
<%@ Register src="userControl/Weather.ascx" tagname="Weather" tagprefix="uc2" %>
<%@ Register src="userControl/Category.ascx" tagname="Category" tagprefix="uc3" %>
<%@ Register src="userControl/Product.ascx" tagname="Product" tagprefix="uc4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    .style17
    {
        width: 985px;
        height: 30px;
    }
    .style18
    {
        width: 985px;
        height: 79px;
    }
        .style19
        {
            width: 92%;
            height: 226px;
            margin-left: 50px;
        }
        .style21
        {
            width: 100%;
        }
    </style>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    &nbsp;&nbsp;<table style="font-size: 9pt; font-family: 宋体; width: 641px; height : 300px; background-repeat : no-repeat;" 
    align="center">
    <tr>
        <td align="left" class="style17" style="font-size: x-large; font-family: 华文新魏">
            热卖商品</td>
    </tr>
    <tr>
        <td align="left" class="style18" valign="top">
            <asp:DataList ID="dlClass" runat="server" 
                OnItemCommand="dlClass_ItemCommand" RepeatColumns="3" 
                RepeatDirection="Horizontal" Width="799px" Height="257px">
                <ItemTemplate>
                    <table border="0;" cellpadding="0;" cellspacing="0" 
                        style="vertical-align :top ;  height: 120px">
                        <tr>
                            <td rowspan="4" style="width: 29px">
                                <asp:Image ID="imageIcon" runat="server" 
                                    ImageUrl='<%#DataBinder.Eval(Container.DataItem,"Image")%>' />
                            </td>
                            <td colspan="2">
                                <asp:LinkButton ID="lnkbtnName" runat="server" 
                                    CommandArgument='<%#DataBinder.Eval(Container.DataItem, "ProductId")%>' 
                                    CommandName="detailSee" Font-Underline="false">
                                <%#DataBinder.Eval(Container.DataItem, "Name")%>
                                </asp:LinkButton>
                            </td>
                        </tr>
                        <tr>
                            <td>
后面还有 30 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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