member/pet.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Title="" Language="C#" MasterPageFile="~/member/m.master" AutoEventWireup="true" CodeFile="pet.aspx.cs" Inherits="member_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="AreaR">
<div class="box">
<div class="box_1">
<h3>
<span>我的宠物</span>
</h3>
<div class="userCenterBox boxCenterList clearfix" style="_height:1%; min-height:400px;">
<table border="0" align="center" cellpadding="3" cellspacing="1" style="width: 100%">
<tr>
<td height="26" align="center">
<strong> 所属类别</strong><asp:DropDownList ID="ddltid" runat="server" Width="150">
</asp:DropDownList> <strong> 宠物名称:</strong><asp:TextBox ID="txt_pname" runat="server" width="150"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="搜 索" onclick="btnSearch_Click" />
</td>
</tr>
<tr>
<td height="26">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%" GridLines="None" AllowPaging="True" onpageindexchanging="GridView1_PageIndexChanging">
<RowStyle Height="25px" HorizontalAlign="Center" />
<Columns>
<asp:BoundField HeaderText="宠物名称" DataField="pname" />
<asp:BoundField HeaderText="所属类别" DataField="tname" />
<asp:TemplateField HeaderText="宠物图片">
<ItemTemplate>
<img alt="" src="../uploads/<%#Eval("pic")%>" width="100" height="80" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField HeaderText="售价" DataField="price" />
<asp:BoundField HeaderText="库存数量" DataField="quan" />
<asp:HyperLinkField DataNavigateUrlFormatString="../proShow.aspx?id={0}" Target="_blank" DataNavigateUrlFields="pid" HeaderText="详细" Text="详细" >
<ItemStyle Width="50px" />
</asp:HyperLinkField>
<asp:HyperLinkField DataNavigateUrlFormatString="petEdit.aspx?id={0}" DataNavigateUrlFields="pid" HeaderText="编辑" Text="编辑" >
<ItemStyle Width="50px" />
</asp:HyperLinkField>
<asp:TemplateField HeaderText="删除" >
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName='<%#Eval("pid") %>' OnClick="lnk_Click" Text="删除" OnClientClick='return confirm("您确定要删除此信息么?");'></asp:LinkButton>
</ItemTemplate>
<ItemStyle Width="50px" />
</asp:TemplateField>
</Columns>
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>
</td>
</tr>
后面还有 16 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。