温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日网上商城购物系统源码
当前文件:
MingriNetShop/User/ClassGoods.aspx,打开代码结构图
MingriNetShop/User/ClassGoods.aspx,打开代码结构图1<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="ClassGoods.aspx.cs" Inherits="User_ClassGoods" Title="Untitled Page" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="FartherMain" Runat="Server"> 3
<table style=" font-size: 9pt; font-family: 宋体;" > 4
<tr> 5
<td align="left" style ="width :560px; height :19px;" background ="../Images/index/名字空白.JPG" > 6
<asp:Label ID="lbClassName" runat="server" Text="Label" Font-Names="宋体" Font-Bold="True" ></asp:Label></td> 7
</tr> 8
<tr> 9
<td align="left" style ="width :560px; " background="../Images/index/产品展销---最底部.jpg" > 10
<asp:DataList ID="DLClass" runat="server" RepeatColumns="4" RepeatDirection="Horizontal" DataKeyField ="GoodsID" OnItemCommand="DLClass_ItemCommand"> 11
<ItemTemplate> 12
<table align="left" cellpadding=0 cellspacing=0 style =" width :135px; height:158px;" > 13
<tr align =center style =" width :135px; height:65px;font-size: 9pt; font-family: 宋体;"> 14
<td colspan="2" > 15
<asp:Image ID="imageRefine" runat="server" ImageUrl =<%#DataBinder.Eval(Container.DataItem,"GoodsUrl")%>/></td> 16
</tr> 17
<tr align=center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋体;"> 18
<td colspan="2" align="center"> 19
<%#DataBinder.Eval(Container.DataItem, "GoodsName")%> 20
</td> 21
</tr> 22
<tr valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋体;"> 23
<td align="center"> 24
市场价格</td> 25
<td align="left" > 26
<%#GetVarMKP(DataBinder.Eval(Container.DataItem, "MarketPrice").ToString())%>¥</td> 27
</tr> 28
<tr valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋体;"> 29
<td align="center"> 30
会员价格</td> 31
<td align="left" > 32
<%#GetVarMBP(DataBinder.Eval(Container.DataItem, "MemberPrice").ToString())%>¥</td> 33
</tr> 34
<tr valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋体;"> 35
<td colspan="2" align="left"> 36
37
<asp:LinkButton ID="lnkbtnClass" runat="server" CommandName="detailSee" >详细</asp:LinkButton> 38
<asp:LinkButton ID="lnkbtnBuy" runat="server" CommandName="buyGoods" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"GoodsWeight")+"|"+DataBinder.Eval(Container.DataItem,"MemberPrice") %>' >购买</asp:LinkButton></td> 39
</tr> 40
</table> 41
</ItemTemplate> 42
</asp:DataList></td> 43
</tr> 44
</table> 45
</asp:Content> 46
47




