admin/stores/List.aspx

(开头部分) 2KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" CodeFile="List.aspx.cs" Inherits="stores_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="cTable_2 table">
	<tr class="cTitle toolbarBg"> 
		<td width="25%"><div>管理库存</div></td>
		<td colspan="2"></td>
	</tr>
 <tr >
		<td class="tRight" colspan="2">
        
            <table style="width:100%">
                <tr>
                    <td align="center">
                           </td>
                </tr>
            </table>
        
        </td>
	</tr>
	 <tr >
		<td class="tRight" colspan="2">
        
            <table style="width:100%">
                <tr>
                    <td>
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%" GridLines="None" AllowPaging="True" onpageindexchanging="GridView1_PageIndexChanging" EnableModelValidation="True">
        <RowStyle Height="25px" HorizontalAlign="Center" />
        <Columns>       
            <asp:BoundField HeaderText="商品编号" DataField="pid" />
                        <asp:BoundField HeaderText="商品名称" DataField="pname" />
            <asp:TemplateField HeaderText="商品图片">
            <ItemTemplate>
            <img alt="" src="../../uploads/<%#Eval("pic")%>" width="100"  height="80" />
            </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="尺寸" DataField="caiz" />
            <asp:BoundField HeaderText="库存数量" DataField="quantity" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <a href="Add.aspx?id=<%# Eval("id") %>">进货</a>
                   <a href="Add2.aspx?id=<%# Eval("id") %>&q=<%#Eval("quantity") %>">出货</a>
                       <a href="Add3.aspx?id=<%# Eval("id") %>&q=<%#Eval("quantity") %>">退货</a>
                </ItemTemplate>
            </asp:TemplateField>
                       
        </Columns>
        <PagerStyle HorizontalAlign="Center" />
    </asp:GridView>

                    
                    </td>
                </tr>
            </table>
        
        </td>
	</tr>
 </table>
后面还有 2 行代码,购买后查看完整代码

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

AI 解读 AI

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

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