Torna al Thread

Report.Load(Server.MapPath("CTF005.rpt")); Report.SetDataSource(dsTemp.Tables[0]); CrystalReportViewer1.ReportSource = Server.MapPath("CTF005.rpt"); CrystalReportViewer1.ReportSource = Report; CrystalReportViewer1.Visible = true; CrystalReportViewer1.DataBind(); Report.ExportToHttpResponse(ExportFormatType.WordForWindows, Response, true, "file.doc"); CrystalReportViewer1.HyperlinkTarget = "_blank"; CrystalReportViewer1.HasExportButton = true; CrystalReportViewer1.HasPrintButton = true; Session["Crreport"] = Report;
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5