帮忙解释一段关于水晶报表的代码。解决立马给分,急!在线等!
[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依次为:
报表页眉
页眉
详细资料节
报表页脚
页脚
--------------------编程问答--------------------
顶! --------------------编程问答-------------------- 返回报表各节
补充:.NET技术 , 图表区