chaxun/commodity.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="commodity.aspx.cs" Inherits="chaxun_commodity" %>
<!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">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<br>
<br>
<div align="center">
<h3> 商品信息列表</h3>
<hr width=80% color=#880000>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="Outset" BorderWidth="1px"
CellPadding="3" Width="100%" CellSpacing="1" AllowPaging="True"
OnPageIndexChanging="GridView1_PageIndexChanging" DataKeyNames="c_id"
DataSourceID="SqlDataSource1">
<RowStyle ForeColor="#000066" />
<Columns>
<asp:BoundField DataField="c_id" HeaderText="主键" InsertVisible="False" ReadOnly="True" SortExpression="c_id" />
<asp:BoundField DataField="commodityName" HeaderText="商品名" SortExpression="commodityName" />
<asp:BoundField DataField="brandname" HeaderText="品牌" SortExpression="brandname" />
<asp:BoundField DataField="produceplace" HeaderText="产地" SortExpression="produceplace" />
<asp:BoundField DataField="unit" HeaderText="计算单位" SortExpression="unit" />
<asp:BoundField DataField="specs" HeaderText="规格" SortExpression="specs" />
<asp:BoundField DataField="passnumber" HeaderText="批号" SortExpression="passnumber" />
<asp:BoundField DataField="passlist" HeaderText="批准文号" SortExpression="passlist" />
<asp:BoundField DataField="companyid" HeaderText="公司号" SortExpression="companyid" />
<asp:BoundField DataField="remark" HeaderText="备注" SortExpression="remark" />
<asp:BoundField DataField="addTime" HeaderText="修改时间" SortExpression="addTime" />
<asp:BoundField DataField="num" HeaderText="数量" SortExpression="num" />
<asp:BoundField DataField="typename" HeaderText="商品类别" SortExpression="typename" />
<asp:TemplateField HeaderText="照片" SortExpression="picture">
<ItemTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("picture","~/upload/{0}") %>' Width="100px" Height="100px"/>
</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 a.*,b.typename FROM commodity a ,ctype b where a.typeid=b.typeid">
</asp:SqlDataSource>
</div>
</form>
</form>
后面还有 2 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。