ActiveReports.XlsExport Assembly > DataDynamics.ActiveReports.Export.Xls Namespace > XlsExport Class : MultiSheet Property |
private void btnExport_Click(object sender, System.EventArgs e) { ActiveReport1 rpt = new ActiveReport1(); DataDynamics.ActiveReports.Export.Xls.XlsExport x = new DataDynamics.ActiveReports.Export.Xls.XlsExport(); rpt.Run(); this.arv.Document = rpt.Document; x.MultiSheet = true; x.Export(rpt.Document, Application.StartupPath + "\\export.xls"); }
Private Sub btnExport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim rpt As New ActiveReport1 Dim x As New DataDynamics.ActiveReports.Export.Xls.XlsExport rpt.Run() Me.arv.Document = rpt.Document x.MultiSheet = True x.Export(rpt.Document, Application.StartupPath & "\export.xls") End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2