📄 favorite.aspx
字号:
<%@ Page language="c#" Codebehind="Favorite.aspx.cs" AutoEventWireup="false" Inherits="RBWebShop.Favorite" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>用户收藏夹</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="Include/MainStyle.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table border="0" cellspacing="4" height="400" width="100%" align="center" class="table-all">
<tr>
<td class="row" width="100" colspan="1" nowrap align="left">
我的收藏夹
</td>
</tr>
<tr>
<td class="table-all" noWrap align="center" width="100%" colSpan="1">
<asp:datagrid id="myData" runat="server" AutoGenerateColumns="False" Width="100%" DataKeyField="RBFavoriteId"
AllowPaging="True" PageSize="12">
<SelectedItemStyle BackColor="#E0E0E0"></SelectedItemStyle>
<HeaderStyle HorizontalAlign="Center" Height="25px" CssClass="RowLight" BackColor="WhiteSmoke"></HeaderStyle>
<Columns>
<asp:TemplateColumn HeaderText="选择">
<HeaderStyle Width="10%"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemTemplate>
<asp:CheckBox ID="CheckFavorite" Runat="server" AutoPostBack="False"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:HyperLinkColumn DataNavigateUrlField="RBProductId" Target="_blank" DataNavigateUrlFormatString="Product.aspx?ProductId={0}"
DataTextField="RBProductName" HeaderText="商品名称">
<ItemStyle HorizontalAlign="left" Width="50%"></ItemStyle>
</asp:HyperLinkColumn>
<asp:BoundColumn DataField="RBProductPrice" HeaderText="市场价">
<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="RBProductUserPrice" HeaderText="会员价">
<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="RBProductVipPrice" HeaderText="VIP 价">
<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
</asp:BoundColumn>
<asp:ButtonColumn Text="删除" ButtonType="PushButton" HeaderText="操作" CommandName="Delete">
<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle NextPageText="下一页" Height="25px" PrevPageText="上一页" BackColor="WhiteSmoke"></PagerStyle>
</asp:datagrid></td>
</tr>
<tr>
<td class="rowlight" width="100" colspan="1" nowrap align="center">
<asp:Button id="Button1" runat="server" Text="加入购物车" CssClass="mybutton"></asp:Button>
</td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -