首页 > 其他 > 详细

设置报表合计行的样式

时间:2017-08-20 12:01:59      阅读:342      评论:0      收藏:0      [点我收藏+]
 [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
            });

 技术分享

设置报表合计行的样式

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!