shopping.aspx

(完整代码) 2KB

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

<!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>Untitled Page</title>
</head>
<body style="text-align: center;background-color: #7a7774">
    <form id="form1" runat="server">
    <div style="text-align: center">
      <table style="width: 394px">
                    
            <tr align=left>
                <td  colspan="3" style="height: 76px; background-image: url(images/2.gif);">
                    <br />
                    <img id="IMG1" src="images/1.gif" onclick="return IMG1_onclick()" alt="无法显示" /><br />
                    &nbsp;<img src="images/1108656466.gif" style="width: 533px; height: 70px" alt="无法显示" />
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a
                        href="denglu.aspx">返回首页</a>
                    <img src="images/3.gif" alt="无法显示" /></td>
            </tr>
            <tr style="height:42px">
             <td style="background-color: #666699;  height: 42px; text-align: center;" align="left">  
                 <strong><span style="font-size: 24pt; color: #000033; font-family: 方正舒体">购 物 区</span></strong></td>
            </tr>  
            <tr>
                   </table>
    </div>
        <br />
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            DataSourceID="SqlDataSource1" Height="160px" PageSize="5" Width="448px" BackColor="#E0E0E0" CellSpacing="2">
            <Columns>
                <asp:ImageField DataImageUrlField="url" HeaderText="相关图片">
                </asp:ImageField>
                <asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
                <asp:BoundField DataField="price" HeaderText="price" SortExpression="price" />
                <asp:BoundField DataField="meili" HeaderText="meili" SortExpression="meili" />
                <asp:HyperLinkField NavigateUrl="~/shoppingcart.aspx" Text="加入购物车" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:informationConnectionString8 %>"
            SelectCommand="SELECT [name], [price], [url], [meili], [product] FROM [shangpin]">
        </asp:SqlDataSource>
    </form>
</body>
</html>

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

AI 解读

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

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