Vb.net ActiveReports 10 SectionReport Byval变量

Vb.net ActiveReports 10 SectionReport Byval变量,vb.net,activereports,Vb.net,Activereports,在过去使用AR2时,我编写过这样的代码 Dim rpt_Test As New My_Report(_dsDati) rpt_Test.LoadLayout(_ReportName) rpt_Test.DataSource = _dv rpt_Test.Run() Me.Active_Rpt_Viewer.Document = rpt_Test.Document 我的_报告是一个rpx文件,它可以接受类似数据集的参

在过去使用AR2时,我编写过这样的代码

        Dim rpt_Test As New My_Report(_dsDati)
        rpt_Test.LoadLayout(_ReportName)
        rpt_Test.DataSource = _dv
        rpt_Test.Run()
        Me.Active_Rpt_Viewer.Document = rpt_Test.Document
我的_报告是一个rpx文件,它可以接受类似数据集的参数

现在使用AR10(我是新手)如何将数据集传递给sectionreport? 出于许多原因,我希望在脚本中使用数据集,并且希望在运行时传递它。
可能吗?

我使用了SectionReportXML。。。 我必须使用sectionreport(基于代码) 这是我的错误