ActiveReport 报表事件调用之动态脚本剖析

在C#下,有一个类库System.CodeDom.Compiler,非常强大。如,可用来动态生成dll,因此可以实现动态表达式、报表等函数,非常方便。AR的Section报表(区域报表)中有脚本,是通过System.CodeDom.Compiler实现的编译为dll,具体下面的实战步骤。<a href="http://www.grapecity.com.cn/image.ashx?picture=AR8_Script4.gif"><img title="AR8_Script" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px" border="0" alt="AR8_Script" src="http://www.grapecity.com.cn/image.ashx?picture=AR8_Script4.gif" width="488" height="242" /></a>