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

📄 productdisplay.ascx

📁 vs2005 C# sqlserver2000 制作完成
💻 ASCX
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductDisplay.ascx.cs" Inherits="control_Product_Product" %>
<style type="text/css">
.table-outside
{
   width:250px;
   height:130px;
   margin:5px 10px 5px 10px;
}
.table-inside
{
   width:130px;
   height:100%;
   font: icon;
}
</style>
<table class="table-outside">
    <tr>
        <td style="width: 100px; height: 140px;">
            <asp:Image ID="Image1" runat="server" Height="130px" Width="100px" /></td>
        <td style="width: 130px; height: 140px;">
            <table class="table-inside">
                <tr>
                    <td style="width: 60px">
                        ID:</td>
                    <td style="width: 129px">
                        <asp:Label ID="lblID" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 60px">
                        名称:</td>
                    <td style="width: 129px">
                        <asp:HyperLink ID="hylProductName" runat="server">HyperLink</asp:HyperLink></td>
                </tr>
                <tr>
                    <td style="width: 60px">
                        价格:</td>
                    <td style="width: 129px">
                        <asp:Label ID="lblPrice" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="Button1" runat="server" Text="放入购物车" OnClick="Button1_Click" /></td>
                </tr>
            </table>
        </td>
    </tr>
</table>

⌨️ 快捷键说明

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