public void ShowErrorMessage()
 {
     ReportViewer3.LocalReport.DataSources.Clear();
     ReportViewer3.LocalReport.DataSources.Add(new ReportDataSource("", new DataTable()));
     ReportViewer3.LocalReport.ReportPath = Server.MapPath("~/" + "Report//rpt//blank.rdlc");
     ReportViewer3.DataBind();
     ReportViewer3.LocalReport.Refresh();
 }
        public void GenerateReportDocument(dynamic reportParam, string reportType, DataTable data)
        {
            string dsName = reportParam.DataSetName;

            ReportViewer3.LocalReport.DataSources.Clear();
            ReportViewer3.LocalReport.DataSources.Add(new ReportDataSource(dsName, data));
            ReportViewer3.LocalReport.ReportPath = Server.MapPath("~/" + "Report//rpt//" + reportParam.RptFileName);
            ReportViewer3.DataBind();
            ReportViewer3.LocalReport.Refresh();
        }