📄 search.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Search" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" style="width: 537px">
<tr>
<td align="center">
<asp:Label ID="LabelMsg" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="方正姚体"
Font-Size="35px" Font-Underline="True" ForeColor="#00C000" Text="Label" Width="575px"></asp:Label></td>
</tr>
</table>
<asp:DataList ID="DListSearch" runat="server" Width="535px" OnItemCommand="DListSearch_ItemCommand">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="width: 495px">
<tr>
<td rowspan="4" style="width: 38px">
<asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("ProductImage") %>' /></td>
<td style="height: 19px">
<asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#C0C000" NavigateUrl='<%# Eval("ProductID","~/DisplayProduct.aspx?PID={0}") %>'
Text='<%# Eval("ProductName") %>' Width="331px"></asp:HyperLink></td>
</tr>
<tr>
<td>
<asp:Label ID="Label1" runat="server" Text='<%# GetProductDescription(Eval("Description").ToString()) %>'
Width="391px"></asp:Label></td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Italic="False" ForeColor="Red"
Text="Price" Width="61px"></asp:Label>
<asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Italic="True" Font-Underline="True"
ForeColor="#00C000" Text='<%# Eval("UnitCost","{0:c}") %>' Width="83px"></asp:Label></td>
</tr>
<tr>
<td align="right">
<asp:Button ID="Button1" runat="server" Text="Add to Cart" CommandArgument='<%# Eval("ProductID") %>' /></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList><br />
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -