会议纪录1前台代码

<%@ Control Language="C#" Inherits="Modules.ARB_DSR_MOON.ViewARB_DSR_MOON"
AutoEventWireup="true" CodeBehind="ViewARB_DSR_MOON.ascx.cs" %>
<%@ Register Assembly="C1.Web.Wijmo.Controls.4" Namespace="C1.Web.Wijmo.Controls.C1GridView" TagPrefix="wijmo" %>

<%--<wijmo:C1GridView ID="DSR_MONTH" runat="server" ScrolMode="Auto" AutoGenerateColumns="False" ShowRowHeader="True" AllowColMoving="True" AllowSorting="True" AllowVirtualScrolling="False" Culture="zh-CN" FreezingMode="None" RowHeight="19" ScrollMode="None" StaticColumnIndex="-1" StaticRowIndex="-1">

</wijmo:C1GridView>--%>
<%--<wijmo:C1GridView ID="111" runat="server" ScrolMode="Auto" AutoGenerateColumns="False" ShowRowHeader="True" AllowColMoving="True" AllowSorting="True" AllowVirtualScrolling="False" Culture="zh-CN" FreezingMode="None" RowHeight="19" ScrollMode="None" StaticColumnIndex="-1" StaticRowIndex="-1">
<columns>
<wijmo:C1BoundField HeaderText="销售人员">
</wijmo:C1BoundField>
<wijmo:C1BoundField HeaderText="一月份">
<columns>
<wijmo:C1BoundField DataField="订购日期" HeaderText="订购日期" DataFormatString="d" SortExpression="订购日期" />
<wijmo:C1BoundField DataField="到货日期" HeaderText="到货日期" DataFormatString="d" SortExpression="到货日期" />
<wijmo:C1BoundField DataField="发货日期" HeaderText="发货日期" DataFormatString="d" SortExpression="发货日期" />
</columns>
</wijmo:C1BoundField>
<wijmo:C1BoundField HeaderText="二月份">
</wijmo:C1BoundField>
</columns>

</wijmo:C1GridView>--%>
<%--居中不允许换行--%>
<ItemStyle HorizontalAlign="Center" Wrap="False" />
<wijmo:C1GridView ID="C1GridView1" runat="server" ScrollMode="Auto"
AutoGenerateColumns="False" ShowRowHeader="True" AllowColMoving="True" AllowSorting="True" Width="100%" AllowVirtualScrolling="False" Culture="zh-CN" FreezingMode="None" RowHeight="19" StaticColumnIndex="-1" StaticRowIndex="-1" ShowFooter="True" AllowKeyboardNavigation="true" Height="400px">



<ScrollingSettings Mode="Auto"> </ScrollingSettings>
<Columns>
<wijmo:C1Band HeaderText="销售人员月度回顾" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="销售人员" HeaderText="销售人员" SortExpression="销售人员" />
</Columns>
</wijmo:C1Band>
<wijmo:C1Band HeaderText="一月份" Width="10%">
<Columns>
<wijmo:C1BoundField DataField="一月销售升数" HeaderText="升数" SortExpression="一月销售升数" Aggregate="Sum" FooterText="合计: <b>{0}</b>"/>
<wijmo:C1BoundField DataField="一月销售金额" HeaderText="金额" SortExpression="一月销售金额" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="二月份" Width="3%">
<columns>
<wijmo:C1BoundField datafield="二月销售升数" headertext="升数" sortexpression="二月销售升数" Aggregate="Sum" FooterText="合计: <b>{0}</b>"/>
<wijmo:C1BoundField datafield="二月销售金额" headertext="金额" sortexpression="二月销售升数" Aggregate="Sum" FooterText="合计: <b>{0}</b>"/>
</columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="三月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="三月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="三月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="四月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="四月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>"/>
<wijmo:C1BoundField DataField="四月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>"/>
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="五月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="五月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="五月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="六月份" Width="5%">
<Columns>
<wijmo:C1BoundField DataField="六月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="六月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="七月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="七月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="七月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="八月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="八月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="八月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="九月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="九月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="九月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="十月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="十月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="十月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="十一月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="十一月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="十一月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>"/>
</Columns>
</wijmo:C1Band>

<wijmo:C1Band HeaderText="十二月份" Width="3%">
<Columns>
<wijmo:C1BoundField DataField="十二月销售升数" HeaderText="升数" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
<wijmo:C1BoundField DataField="十二月销售金额" HeaderText="金额" DataFormatString="d" Aggregate="Sum" FooterText="合计: <b>{0}</b>" />
</Columns>
</wijmo:C1Band>

</Columns>
</wijmo:C1GridView>

原文地址:https://www.cnblogs.com/1971855407qq/p/8529729.html