当前位置:编程学习 > C#/ASP.NET >>

帮忙解释一段关于水晶报表的代码。解决立马给分,急!在线等!

[Browsable(true)] 
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] 
        public Section Section1 
        { 
            get 
            { 
                return this.ReportDefinition.Sections[0]; 
            } 
        } 

        [Browsable(true)] 
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] 
        public Section Section2 
        { 
            get 
            { 
                return this.ReportDefinition.Sections[1]; 
            } 
        } 

        [Browsable(false)] 
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] 
        public Section Section3 
        { 
            get 
            { 
                return this.ReportDefinition.Sections[2]; 
            } 
        } 

        [Browsable(false)] 
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] 
        public Section Section4 
        { 
            get 
            { 
                return this.ReportDefinition.Sections[3]; 
            } 
        } 

        [Browsable(false)] 
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] 
        public Section Section5 
        { 
            get 
            { 
                return this.ReportDefinition.Sections[4]; 
            } 
        } 
    } 
--------------------编程问答-------------------- 这都什么意思啊?看的我一头雾水,帮帮忙啊。 --------------------编程问答-------------------- 其实就是返回报表的各个节,如果节没有拆分的话,从0到4依次为:

报表页眉
页眉
详细资料节
报表页脚
页脚
--------------------编程问答--------------------
引用 2 楼 babyt 的回复:
其实就是返回报表的各个节,如果节没有拆分的话,从0到4依次为: 

报表页眉 
页眉 
详细资料节 
报表页脚 
页脚 

顶! --------------------编程问答-------------------- 返回报表各节
补充:.NET技术 ,  图表区
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,