kucun/kucunlist.aspx

(开头部分) 2KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="kucunlist.aspx.cs" Inherits="kucun_kucunlist" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<LINK href="../css/admin.css" type="text/css" rel="stylesheet"><meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
</head>
<style type="text/css">


</style>
<body>
    <form id="form1" runat="server">
    <div>
    <br>
<br>
<div align="center">
  <h3>商品信息列表</h3>
<hr width=80% color=#880000>
    &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" 
                    BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="1px" 
        CellPadding="3"  Width="680px" CellSpacing="1" AllowPaging="True"  
        OnPageIndexChanging="GridView1_PageIndexChanging" DataKeyNames="spid" 
        DataSourceID="SqlDataSource1">
                    <RowStyle ForeColor="#000066"  />
                    <Columns>
                        <asp:BoundField DataField="spid" HeaderText="商品编号" InsertVisible="False" 
                            ReadOnly="True" SortExpression="spid" />
                        <asp:BoundField DataField="spmc" HeaderText="商品名称" SortExpression="spmc" />
                        <asp:BoundField DataField="gys" HeaderText="供应商" SortExpression="gys" />
                               <asp:BoundField DataField="ms" HeaderText="描述" SortExpression="ms" />
                                   <asp:BoundField DataField="sl" HeaderText="数量" SortExpression="sl" />
                        <asp:BoundField DataField="cd" HeaderText="产地" SortExpression="cd" />
                        
                          <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                        <a href='kucunmod.aspx?id=<%# Eval("spid") %>'>
                                数量调整</a>
                          </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
  

    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:DConnectionString %>" 
        
        SelectCommand="SELECT [spid], [spmc], [gys], [ms], [sl], [cd], [tx], [cx], [bz], [jg], [cxj] FROM [shangpin]">
    </asp:SqlDataSource>
  

    </div>
    </form>
</body>
后面还有 1 行代码,购买后查看完整代码

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

AI 解读 AI

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

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