📄 showpro.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="showpro.aspx.cs" Inherits="shownews" %>
<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-color: #edeeef; text-align: center">
<form id="form1" runat="server">
<div>
<uc1:head ID="Head1" runat="server" />
<table border="0" cellpadding="0" cellspacing="0" style="width: 740px; height: 239px">
<tr>
<td style="width: 740px; height: 447px; background-color: #ffffff" valign="middle" align="center">
<table border="0" cellpadding="0" cellspacing="1" style="border-right: 1px solid;
border-top: 1px solid; border-left: 1px solid; width: 540px; border-bottom: 1px solid;
height: 150px; background-color: #3381da">
<tr>
<td align="left" style="font-size: 9pt; background-image: url(image/t_bg01.gif);
width: 540px; height: 19px; background-color: #ffffff">
<span style="color: #ffffff">::</span><span style="color: #ffffff">企业产品
</span></td>
</tr>
<tr>
<td style="width: 540px; height: 121px; background-color: #ffffff" valign="top">
<asp:DataList ID="DataList1" runat="server" Height="48px" RepeatColumns="1" RepeatDirection="Horizontal"
Width="448px" OnSelectedIndexChanged="DataList1_SelectedIndexChanged">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="width: 400px">
<tr>
<td align="left" style="width: 400px">
<br />
</td>
</tr>
<tr>
<td style="width: 400px" align="left">
产品名称: <%# DataBinder.Eval(Container.DataItem, "产品名称")%>
</td>
</tr>
<tr>
<td style="width: 400px" align="center">
<img src='image/<%# DataBinder.Eval(Container.DataItem, "产品图片")%>' alt='a' style="width: 120px; height: 105px;" width="0"/>
</td>
</tr>
<tr>
<td style="width: 400px; height: 20px;" align="left">
产品介绍:</td>
</tr>
<tr>
<td style="width: 400px" align="left">
<%# DataBinder.Eval(Container.DataItem, "产品介绍")%>
</td>
</tr>
<tr>
<td style="width: 400px" align="left">
价格: ¥<%# DataBinder.Eval(Container.DataItem, "产品价格")%>元
<a href='order.aspx?id=<%# DataBinder.Eval(Container.DataItem, "流水号")%>'>
订购>> </a></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -