保健品销售网站 三层架构/WebUI/cart.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="cart.aspx.cs" Inherits="cart" Title="家庭药品销售网站" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<link href="themes/ecmoban/style.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div class="block box">
<div class="blank">
</div>
<div id="ur_here">
当前位置: <a href="Default.aspx">首页</a> <code>></code> 购物流程
</div>
</div>
<div class="blank">
</div>
<div class="block table">
<div class="flowBox">
<h6>
<span>药品列表</span></h6>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
ForeColor="#333333" GridLines="None" Width="100%" DataKeyNames="id"
AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDeleting="GridView1_RowDeleting"
OnRowDataBound="GridView1_RowDataBound">
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:BoundField HeaderText="序号">
<ItemStyle HorizontalAlign="center" />
<HeaderStyle HorizontalAlign="center" Width="5%" />
</asp:BoundField>
<asp:BoundField HeaderText="药品" DataField="goodname">
<ItemStyle HorizontalAlign="center" />
<HeaderStyle HorizontalAlign="center" />
</asp:BoundField>
<asp:BoundField HeaderText="单价" DataField="price">
<ItemStyle HorizontalAlign="center" />
<HeaderStyle HorizontalAlign="center" />
</asp:BoundField>
<asp:BoundField HeaderText="数量" DataField="num">
<ItemStyle HorizontalAlign="center" />
<HeaderStyle HorizontalAlign="center" />
</asp:BoundField>
<asp:TemplateField HeaderText="管理">
<ItemStyle HorizontalAlign="center" />
<HeaderStyle HorizontalAlign="center" />
<ItemTemplate>
<asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" CommandName="Delete"
OnClientClick="return confirm('您确认删除');" Text="删除"></asp:LinkButton></ItemTemplate>
<HeaderStyle Width="100px" />
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<table width="99%" align="center" border="0" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
<tr>
后面还有 12 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
