Usercontrol/ShoppingCar.ascx

(开头部分) 2KB

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

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ShoppingCar.ascx.cs" Inherits="Usercontrol_ShoppingCar" %>
<style type="text/css">
    .style1
    {
        width: 102px;
    }
</style>
<div style="margin:auto; float:left; height:351px; width:958px; overflow:scroll;"> 
<table >
    <tr>
        <td >
            <asp:GridView ID="GridView1" runat="server" CellPadding="4" 
                EnableModelValidation="True" ForeColor="#333333" GridLines="None" 
                Width="931px">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:TemplateField HeaderText="操作">
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" 
                                CommandArgument='<%# Eval("编号") %>' onclick="LinkButton1_Click1">删除</asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <EditRowStyle BackColor="#7C6F57" />
                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#E3EAEB" />
                <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            </asp:GridView>
        </td>
    </tr>
    </table>



</div>
<div style=" height:50px; width:960px;"> 
<table style="width: 885px" >
    <tr>
        <td class="style1" >
            &nbsp;</td>
        <td >
            您一共购买了:<asp:Label ID="Label4" runat="server" 
                Text="0" Font-Bold="True" 
                ForeColor="#CC0066" Font-Size="Medium"></asp:Label>
            &nbsp;件商品<br />
            总消费额为:<asp:Label ID="Label2" runat="server" ForeColor="#CC0066" Text="0" 
                Font-Size="Medium" Font-Bold="True"></asp:Label>
            &nbsp;
            元</td>
        <td >
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click1" Text="清空购物车" />

            <asp:Button ID="Button2" runat="server" Text="结算" onclick="Button2_Click" 
                Width="78px" PostBackUrl="~/ShoppingCar/EditBill.aspx" />
            <asp:Button ID="Button3" runat="server" Text="继续购物" onclick="Button3_Click" 
                Width="84px" />
        </td>
    </tr>
后面还有 27 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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