ReportViewer1.ProcessingMode = ProcessingMode.Local; ReportViewer1.LocalReport.ReportPath = "Doctor_form.rdlc"; this.ReportViewer1.LocalReport.SetParameters(parameters); ReportViewer1.LocalReport.Refresh(); Warning[] warnings; string[] streamIds; string mimeType = string.Empty; string encoding = string.Empty; string extension = string.Empty; byte[] bytes = ReportViewer1.LocalReport.Render("PDF", null, out mimeType, out encoding, out extension, out streamIds, out warnings); Response.Buffer = true; Response.Clear(); Response.ContentType = mimeType; Response.BinaryWrite(bytes); Response.Flush();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)