Web/Client/ShopGoods.aspx

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopGoods.aspx.cs" Inherits="MrZeng.Web.Client.ShopGoods" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!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>
</head>
<body style="margin:auto; text-align:center; font-size:12px;">
    <form id="form1" runat="server">
    <div>
        <fieldset>
            <legend>
                 <asp:Literal ID="litTitle" Text="我的商品" runat="server"></asp:Literal>
            </legend>
            <asp:Panel ID="Panel1" runat="server">
            <div style="width:100%; padding-top:5px; padding-bottom:5px; text-align:left;">
                <div style="width:50%; float:left; display:inline;">
                    <asp:ImageButton ID="ImageBtnAdd" runat="server" 
                        ImageUrl="~/Images/AddGoods.jpg" onclick="ImageBtnAdd_Click" />
                    <asp:ImageButton ID="ImageBtnLoad" runat="server" 
                        ImageUrl="~/Images/GetGoods.jpg" onclick="ImageBtnLoad_Click" />
                </div>
                <div style="width:50%; float:left; display:inline;"></div> 
            </div>
            <div style="width:100%; text-align:left;">
                <asp:GridView ID="gvGoods" runat="server" AutoGenerateColumns="False" 
                    Font-Size="12px" DataKeyNames="ID" Width="98%" 
                    onrowcommand="gvGoods_RowCommand">
                    <RowStyle HorizontalAlign="Center" />
                    <Columns>
                        <asp:BoundField DataField="GoodsID" HeaderText="商品ID" />
                        <asp:BoundField DataField="GoodsName" HeaderText="商品名" />
                        <asp:BoundField DataField="GoodsType" HeaderText="类型" />
                        <asp:BoundField DataField="IsDiscount" HeaderText="是否特价" />
                        <asp:BoundField DataField="GoodsUnit" HeaderText="单位" />
                        <asp:BoundField DataField="GoodsSum" HeaderText="库存" />
                        <asp:BoundField DataField="SellSum" HeaderText="销售" />
                        <asp:BoundField DataField="SellPrice" HeaderText="价格" />
                        <asp:BoundField DataField="ClickCount" HeaderText="点击率" />
                        <asp:TemplateField HeaderText="常规操作" >
                            <ItemTemplate>
                                <asp:ImageButton ID="ImageBtnUpdate" runat="server" CommandArgument='<%# Eval("ID") %>' CommandName="update" ImageUrl="~/Images/Update.jpg" Width="50px" />
                                <asp:ImageButton ID="ImageButton1" runat="server" CommandArgument='<%# Eval("ID") %>' CommandName="details" ImageUrl="~/Images/Details.jpg" Width="50px"/>
                                <asp:ImageButton ID="ImageButton2" runat="server" CommandArgument='<%# Eval("ID") %>' CommandName="deletes" ImageUrl="~/Images/Delete.jpg" Width="50px" OnClientClick="return confirm('确定要删除吗?')"/>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:GridView>
                <span style="font-size:12px;"><asp:Literal ID="litMessage" runat="server"></asp:Literal></span>
            </div>
            <asp:Panel ID="Panel3" runat="server" Visible="false" >
            <div style="padding:20px;">
                  <span style="font-size:30px; font-weight:bold; color:#FF3300">暂时没有上传任何商品!</span> 
            </div>
            </asp:Panel>
            <div style="width:100%; padding-top:10px; padding-bottom:10px;">
后面还有 89 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。