码迷,mamicode.com
首页 > 其他好文 > 详细

设置报表合计行的样式

时间:2017-08-20 12:36:36      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:list   插件   after   string   port   rowtype   blog   condition   rac   

 [Description("客户端插件")]
    public class LT_PRD_ZYDailyEdit : AbstractSysReportPlugIn
    {
        private string _SubFormPageId = string.Empty;
        public override void AfterBindData(EventArgs e)
        {
            List<FormatCondition> list = new List<FormatCondition>();

            list.Add(new FormatCondition
            {
                ApplayRow = true,
                Key = "FRowType",
                FieldType = 0x23,
                Cellvalue1 = "1",
                Condition = 1,
                BackColor = "#8DEEEE",
                FontBold = true
            });
            list.Add(new FormatCondition
            {
                ApplayRow = true,
                Key = "FRowType",
                FieldType = 0x23,
                Cellvalue1 = "2",
                Condition = 1,
                BackColor = "#00a6ac",
                ForeColor = "#FF0000",
                FontBold = true
            });
            list.Add(new FormatCondition
            {
                ApplayRow = true,
                Key = "FRowType",
                FieldType = 0x23,
                Cellvalue1 = "3",
                Condition = 1,
                BackColor = "#00a6ac",
                ForeColor = "#FF0000",
                FontBold = true
            });

 技术分享

设置报表合计行的样式

标签:list   插件   after   string   port   rowtype   blog   condition   rac   

原文地址:http://www.cnblogs.com/liuyudong0825/p/7399329.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!