products/products_List.aspx
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="products_List.aspx.cs" Inherits="products_List" Title="" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
<tbody><tr>
<td height="24" nowrap=""><font color="#FFFFFF"><img src="../Images/Explain.gif" width="18" height="18" border="0" align="absmiddle"> <strong>商品管理</strong></font></td>
</tr>
<tr>
<td height="24" align="center" nowrap="" bgcolor="#EBF2F9">
<strong> 商品名称:</strong><asp:TextBox ID="txt_pname" runat="server" width="200"></asp:TextBox>
<asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" ></asp:Button>
</td>
</tr>
</tbody></table>
<br>
<center>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="pid" Width="100%" AllowPaging="True" GridLines="None" onpageindexchanging="GridView1_PageIndexChanging">
<RowStyle Height="25px" HorizontalAlign="Center" BorderColor="#6298E1" BorderWidth="1px" />
<Columns>
<asp:TemplateField ControlStyle-Width="30" HeaderText="选择" >
<ItemTemplate>
<asp:CheckBox ID="DeleteThis" runat="server" />
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:BoundField HeaderText="商品名称" DataField="pname" />
<asp:BoundField HeaderText="规格" DataField="stand" />
<asp:BoundField HeaderText="包装" DataField="pack" />
<asp:BoundField HeaderText="单位" DataField="units" />
<asp:BoundField HeaderText="进价" DataField="iprice" />
<asp:BoundField HeaderText="销售价" DataField="oprice" />
<asp:HyperLinkField DataNavigateUrlFormatString="products_Show.aspx?id={0}" DataNavigateUrlFields="pid" HeaderText="详细" Text="详细" >
<ItemStyle Width="50px" />
</asp:HyperLinkField>
<asp:HyperLinkField DataNavigateUrlFormatString="products_Edit.aspx?id={0}" DataNavigateUrlFields="pid" HeaderText="编辑" Text="编辑" >
<ItemStyle Width="50px" />
</asp:HyperLinkField>
</Columns>
<HeaderStyle Height="27px" BackColor="#8DB5E9" ForeColor="#FFFFFF" />
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>
<br>
<table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
<tr>
<td align="left">
<asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"/>
</td>
</tr>
</table>
</center>
</asp:Content>
后面还有 1 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。