销售统计_xls.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="销售统计_xls.aspx.cs" Inherits="客户订单管理2.销售统计_Xls" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server" >
    <meta http-equiv="content-type" content="application/ms-excel; charset=utf-8"/>
    <meta name="generator" content="evk scg 2014.10.4.4684" />
<%
    Response.AddHeader("Content-Disposition","attachment; Filename=" + fileName); 
%>
    <title>销售统计</title>
    <style type="text/css">
        body
        {
            font-family: "宋体";
            font-size: 9pt;
            text-decoration: none;
        }
        table
        {
            font-family: "宋体";
            font-size: 9pt;
            text-decoration: none;
            background-color: #FFFFFF;
            border-color: #6699BB;
        }
        td
        {
            border-color: #6699BB;
            padding: 2px;
        }
    </style>
</head>
<body onload="this.focus();">
<table style="padding:0px; border-collapse: collapse; " >
<tr></tr>
<tr><td colspan="5" style="text-align: center; font-size: 18pt; font-family: 黑体; color: #000000"><%=年份%>年<%=月份%>月销售统计</td></tr>
<tr>
    <td class="Reptop" colspan="3" style="text-align: left; width: 50%; font-size: 9pt; font-family: 宋体;">    </td>
    <td class="Reptop" colspan="2" style="text-align: right; width: 50%; font-size: 9pt; font-family: 宋体;"></td>
</tr>
</table>
<table style="padding:0px; border-collapse: collapse; table-layout :fixed;" border="1">
<tr>
<td style="text-align: center; white-space: nowrap; height: 22px; width: 68px;">商品代码</td>
<td style="text-align: center; white-space: nowrap; height: 22px; width: 200px;">商品名称</td>
<td style="text-align: center; white-space: nowrap; height: 22px; width: 104px;">商品规格</td>
<td style="text-align: center; white-space: nowrap; height: 22px; width: 128px;">数量</td>
<td style="text-align: center; white-space: nowrap; height: 22px; width: 128px;">金额</td>
</tr>
<%
int i = 0;
while (i < 主表.Rows.Count){
%>
<tr>
    <%if (主表.Rows[i]["商品代码"] == DBNull.Value) {%>
        <td style="height: 20; width: 66px;"></td>
    <%}else{%>
        <td style="height: 20; width: 66px;"><%=主表.Rows[i]["商品代码"]%></td>
后面还有 29 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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