?? index.aspx
字號:
?<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" Title="User Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="FartherMain" Runat="Server" >
<table cellpadding=0 cellspacing=0 style=" font-size: 9pt; font-family: 宋體;width :560px; vertical-align :top ; border-top-style: none; border-right-style: none; border-left-style: none; text-align: left; border-bottom-style: none;" >
<tr align="left">
<td align="left" style="width :560px;height :22px; vertical-align: top; text-align: left;" colspan="0" rowspan="0" background ="../Images/index/精品推薦.jpg" >
</td>
</tr>
<tr>
<td align="left" style ="width :560px; " background ="../Images/index/精品推薦下面部分.jpg">
<asp:DataList ID="DLrefinement" DataKeyField ="GoodsID" runat="server" RepeatColumns="4" RepeatDirection="Horizontal" OnItemCommand="DLrefinement_ItemCommand">
<ItemTemplate>
<table align="left" cellpadding=0 cellspacing=0 style =" width :135px; height:158px;" >
<tr align =center style =" width :135px; height:65px;" >
<td colspan="2" align="center" >
<asp:Image ID="imageRefine" runat="server" ImageUrl =<%#DataBinder.Eval(Container.DataItem,"GoodsUrl")%>/></td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px; font-size: 9pt; font-family: 宋體;">
<td colspan="2" align="center">
<%#DataBinder.Eval(Container.DataItem, "GoodsName")%>
</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px; font-size: 9pt; font-family: 宋體;">
<td align="center" >
市場價格</td>
<td align="left" >
<%#GetMKPStr(DataBinder.Eval(Container.DataItem, "MarketPrice").ToString())%>¥</td>
</tr >
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td align="center" >
會員價格</td>
<td align="left" >
<%#GetMBPStr(DataBinder.Eval(Container.DataItem, "MemberPrice").ToString())%>¥</td>
</tr>
<tr align =left valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td colspan="2" align="center" >
<asp:LinkButton ID="lnkbtnClass" runat="server" CommandName="detailSee" >詳細</asp:LinkButton>
<asp:LinkButton ID="lnkbtnBuy" runat="server" CommandName="buyGoods" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"GoodsWeight")+"|"+DataBinder.Eval(Container.DataItem,"MemberPrice") %>'>購買</asp:LinkButton>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</td>
</tr>
</table>
<table style="font-size: 9pt; font-family: 宋體;" cellpadding=0 cellspacing=0>
<tr>
<td align="left" style="width :560px; height :22px; vertical-align: top; text-align: left;" background ="../Images/index/熱銷商品.jpg">
</td>
</tr>
<tr>
<td style ="width :560px; " background ="../Images/index/精品推薦下面部分.jpg" align="left">
<asp:DataList ID="DLHot" runat="server" DataKeyField ="GoodsID" RepeatColumns="4" RepeatDirection="Horizontal" OnItemCommand="DLHot_ItemCommand">
<ItemTemplate>
<table align="left" cellpadding=0 cellspacing=0 style =" width :135px; height:158px;" >
<tr align =center style =" width :135px; height:65px;font-size: 9pt; font-family: 宋體;">
<td colspan="2"> <asp:Image ID="imageHot" runat="server" ImageUrl =<%#DataBinder.Eval(Container.DataItem,"GoodsUrl")%>/>
</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td colspan="2" align="center">
<%#DataBinder.Eval(Container.DataItem, "GoodsName")%>
</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td align="center">
市場價格</td>
<td align="left">
<%#GetMKPStr(DataBinder.Eval(Container.DataItem, "MarketPrice").ToString())%>¥</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td align="center">
會員價格</td>
<td align="left">
<%#GetMBPStr(DataBinder.Eval(Container.DataItem, "MemberPrice").ToString())%>¥</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td colspan="2" align =center >
<asp:LinkButton ID="lnkbtnClass" runat="server" CommandName="detailSee" >詳細</asp:LinkButton>
<asp:LinkButton ID="lnkbtnBuy" runat="server" CommandName="buyGoods" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"GoodsWeight")+"|"+DataBinder.Eval(Container.DataItem,"MemberPrice") %>'>購買</asp:LinkButton>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></td>
</tr>
</table>
<table style=" font-size:9pt; font-family: 宋體; vertical-align: top; text-align: left;"cellpadding=0 cellspacing=0>
<tr>
<td align="left" style ="width :560px; height :22px;" background ="../Images/index/特價商品.jpg">
</td>
</tr>
<tr>
<td align="left" style ="width :560px; " background="../Images/index/產品展銷---最底部.jpg" >
<asp:DataList ID="DLDiscount" runat="server" DataKeyField ="GoodsID" RepeatColumns="4" RepeatDirection="Horizontal" OnItemCommand="DLDiscount_ItemCommand">
<ItemTemplate>
<table align="left" cellpadding=0 cellspacing=0 style =" width :135px; height:158px;" >
<tr align =center valign =bottom style =" width :135px; height:65px;font-size: 9pt; font-family: 宋體;" >
<td colspan="2"><asp:Image ID="imageDiscount" runat="server" ImageUrl =<%#DataBinder.Eval(Container.DataItem,"GoodsUrl")%>/>
</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td colspan="2" align="center">
<%#DataBinder.Eval(Container.DataItem, "GoodsName")%>
</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td align="center">
市場價格</td>
<td align="left">
<%#GetMKPStr(DataBinder.Eval(Container.DataItem, "MarketPrice").ToString())%>¥</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td align="center">
會員價格</td>
<td align="left">
<%#GetMBPStr(DataBinder.Eval(Container.DataItem, "MemberPrice").ToString())%>¥</td>
</tr>
<tr align =center valign =bottom style =" width :135px; height:11px;font-size: 9pt; font-family: 宋體;">
<td colspan="2" align="center">
<asp:LinkButton ID="lnkbtnClass" runat="server" CommandName="detailSee" >詳細</asp:LinkButton>
<asp:LinkButton ID="lnkbtnBuy" runat="server" CommandName="buyGoods" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"GoodsWeight")+"|"+DataBinder.Eval(Container.DataItem,"MemberPrice") %>'>購買</asp:LinkButton>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></td>
</tr>
</table>
</asp:Content>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -