MyCar.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" AutoEventWireup="true"  MasterPageFile="~/MasterPage.master"  CodeFile="MyCar.aspx.cs" Inherits="MyCar" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <section class="wrap idxproLi">
 <h2>
  <strong>
   我的购物车
  </strong>

 </h2>

<div class="user_rt_cont">

  <table class="order_table">
  <tr align="left">
                  <th  style="width:60px">选择</th>
   <th>名称</th>
    <th>数量</th>
   <th>单价</th>
   <th>小计</th>
   <th>操作</th>
  </tr>
 <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
               <tr align="left">
               <td><asp:CheckBox ID="CheckBox_ID" Width="50px" runat="server" Checked="false" />
               
               </td>
      <td  class="tdbg proimg " valign="middle"><img src="<%#Eval("tupian") %>" width="74" height="74" ><%# Eval("shangpinname")%></td>
       <td  class="tdbg quantity">
       <asp:TextBox ID="TextBox1" runat="server" Width="50PX" Text='<%# Eval("quantity")%>' AutoPostBack ="true"   OnTextChanged ="btnCal_Click"></asp:TextBox>
       
       </td>
      <td   class="tdbg">¥<%# Eval("price")%><br></td>
     
      <td  class="tdbg jiage hb blue hb">¥<sapn isget="true" id="cprice259"><%# int.Parse(Eval("quantity").ToString())*decimal.Parse(Eval("price").ToString())%></sapn>元</td>
      <td   class="tdbg "><asp:Label Visible="false" runat="server" ID="Label_ID" Text='<%#Eval("itemid")%>'></asp:Label>
          <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick='return confirm("您确定要取消购买的商品么?");' OnClick="LinkButton1_Click" CssClass="ljbg" CommandArgument='<%# Eval("itemid") %>'>删除</asp:LinkButton>
      </td>
    </tr>
            </ItemTemplate>
        </asp:Repeater>
<tr align="left">
                      <th>
                
          </th>
   <th style="text-align:left">   <div class="order_btm_btn">
                  <asp:Button ID="Button2"  class="link_btn_02 add_btn"  
          Height="40px" Width="60px" runat="server" Text="全选" onclick="Button2_Click"></asp:Button>&nbsp;&nbsp;&nbsp;<asp:Button 
                           ID="Button3" class="link_btn_02 add_btn"  
          Height="40px" Width="60px" runat="server" Text="删除" onclick="Button3_Click1"></asp:Button>
          </div></th>
    <th></th>
   <th></th>
   <th></th>
   <th></th>
后面还有 39 行代码,购买后查看完整代码

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

AI 解读 AI

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

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