⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showpros.aspx

📁 包含了几个由sql server2005开发的典型程序
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="showpros.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: 252px; 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">
                                &nbsp;<span style="color: #ffffff">::</span><span style="color: #ffffff">企业产品 &nbsp;
                                    &nbsp; &nbsp; &nbsp;&nbsp;</span></td>
                        </tr>
                        <tr>
                            <td style="width: 540px; height: 211px; background-color: #ffffff" valign="top">
                                <asp:DataList ID="DataList1" runat="server" Height="200px" OnSelectedIndexChanged="DataList1_SelectedIndexChanged1"
                                    RepeatColumns="2" RepeatDirection="Horizontal" Width="532px">
                                    <ItemTemplate>
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td align="center" rowspan="2" valign="middle">
                                                    <a href='showpro.aspx?id=<%# DataBinder.Eval(Container.DataItem, "流水号")%> '>
                                                        <img alt="a" height="60" src='image/<%# DataBinder.Eval(Container.DataItem, "产品图片")%>'
                                                            style="border-top-style: none; border-right-style: none; border-left-style: none;
                                                            border-bottom-style: none" width="100" /></a></td>
                                                <td align="left" style="width: 150px; height: 22px;" valign="middle">
                                                    <img alt="d" height="15" src="image/dot_1.gif" style="width: 25px" /><a href='showpro.aspx?id=<%# DataBinder.Eval(Container.DataItem, "流水号")%> '><strong><%# DataBinder.Eval(Container.DataItem, "产品名称")%></strong></a></td>
                                            </tr>
                                            <tr>
                                                <td align="left" style="width: 150px; height: 53px">
                                                    <img alt="b" height="11" src="image/dot_1.gif" width="24" />价格: ¥<%# DataBinder.Eval(Container.DataItem, "产品价格")%>元<br />
                                                    <br />
                                                    <img alt="c" height="11" src="image/dot_1.gif" width="24" />类别: <a href='showpros.aspx?id=<%# DataBinder.Eval(Container.DataItem, "产品类别")%>'>
                                                        <%# DataBinder.Eval(Container.DataItem, "产品类别")%>
                                                    </a>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </asp:DataList>&nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -