DataTable dt = new DataTable(); //TalukApprove tlk = new TalukApprove(); dt = GetData(instcode); rptinstitutewise.Reset(); rptinstitutewise.ProcessingMode = ProcessingMode.Local; ReportDataSource DS = new ReportDataSource("Dsconsolidatedmanulstock", dt); rptinstitutewise.LocalReport.DataSources.Clear(); ReportParameter[] parms = new ReportParameter[1]; parms[0] = new ReportParameter("@instid", instcode); //this.ReportViewer1.ServerReport.SetParameters(parms); rptinstitutewise.ServerReport.Refresh(); rptinstitutewise.LocalReport.DataSources.Add(DS); rptinstitutewise.LocalReport.ReportPath = Server.MapPath("~/Reports/Drugconsolidaterpt.rdlc"); rptinstitutewise.LocalReport.Refresh();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)