We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Dim tmpReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument Dim strFileName As String = Server.MapPath("~/TimeSheet.rpt") tmpReport.Load(strFileName, OpenReportMethod.OpenReportByDefault) tmpReport.SetDatabaseLogon("<AccountName>", "<password>") Dim oStream As New MemoryStream oStream = tmpReport.ExportToStream(ExportFormatType.PortableDocFormat) Response.Clear() Response.Buffer = True Response.ContentType = "application/pdf" Response.BinaryWrite(oStream.ToArray) Response.End()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Change Locale for Crystal Reports Dynamically in VB.Net 2010 Winforms.||3||59|
|how to pass the "this" object from C# to a Java Script function.||2||40|
|If I use the FileUpload control in ASP.NET using Framework 4.0, is there a way to supply it with the directory path it initially opens and displays (Choose File to Upload)?||1||38|
|ASP.NET generate check digit for ITF-14 and EAN-13 barcodes||4||34|
Join the community of 500,000 technology professionals and ask your questions.